CreateApplicationDetails

class oci.functions.models.CreateApplicationDetails(**kwargs)

Bases: object

Properties for a new application.

__init__(**kwargs)

Initializes a new CreateApplicationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) -- The value to assign to the compartment_id property of this CreateApplicationDetails.
  • display_name (str) -- The value to assign to the display_name property of this CreateApplicationDetails.
  • config (dict(str, str)) -- The value to assign to the config property of this CreateApplicationDetails.
  • subnet_ids (list[str]) -- The value to assign to the subnet_ids property of this CreateApplicationDetails.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this CreateApplicationDetails.
  • defined_tags (dict(str, dict(str, object))) -- The value to assign to the defined_tags property of this CreateApplicationDetails.
compartment_id

[Required] Gets the compartment_id of this CreateApplicationDetails. The OCID of the compartment to create the application within.

Returns:The compartment_id of this CreateApplicationDetails.
Return type:str
config

Gets the config of this CreateApplicationDetails. Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters.

Example: {"MY_FUNCTION_CONFIG": "ConfVal"}

The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.

Returns:The config of this CreateApplicationDetails.
Return type:dict(str, str)
defined_tags

Gets the defined_tags of this CreateApplicationDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__.

Example: {"Operations": {"CostCenter": "42"}}

Returns:The defined_tags of this CreateApplicationDetails.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this CreateApplicationDetails. The display name of the application. The display name must be unique within the compartment containing the application. Avoid entering confidential information.

Returns:The display_name of this CreateApplicationDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateApplicationDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__.

Example: {"Department": "Finance"}

Returns:The freeform_tags of this CreateApplicationDetails.
Return type:dict(str, str)
subnet_ids

[Required] Gets the subnet_ids of this CreateApplicationDetails. The `OCID`__s of the subnets in which to run functions in the application.

Returns:The subnet_ids of this CreateApplicationDetails.
Return type:list[str]