ApplicationSummary¶
- class oci.functions.models.ApplicationSummary(**kwargs)¶
Bases:
objectSummary of an application.
Attributes:
A constant which can be used with the shape property of a ApplicationSummary.
A constant which can be used with the shape property of a ApplicationSummary.
A constant which can be used with the shape property of a ApplicationSummary.
Gets the compartment_id of this ApplicationSummary.
Gets the defined_tags of this ApplicationSummary.
Gets the display_name of this ApplicationSummary.
Gets the freeform_tags of this ApplicationSummary.
[Required] Gets the id of this ApplicationSummary.
Gets the image_policy_config of this ApplicationSummary.
Gets the lifecycle_state of this ApplicationSummary.
Gets the logging of this ApplicationSummary.
Gets the network_security_group_ids of this ApplicationSummary. The `OCID`__s of the Network Security Groups to add the application to.
Gets the security_attributes of this ApplicationSummary.
Gets the shape of this ApplicationSummary.
Gets the subnet_ids of this ApplicationSummary. The `OCID`__s of the subnets in which to run functions in the application.
Gets the time_created of this ApplicationSummary.
Gets the time_updated of this ApplicationSummary.
Gets the trace_config of this ApplicationSummary.
Methods:
__init__(**kwargs)Initializes a new ApplicationSummary object with values from keyword arguments.
- SHAPE_GENERIC_ARM = 'GENERIC_ARM'¶
A constant which can be used with the shape property of a ApplicationSummary. This constant has a value of “GENERIC_ARM”
- SHAPE_GENERIC_X86 = 'GENERIC_X86'¶
A constant which can be used with the shape property of a ApplicationSummary. This constant has a value of “GENERIC_X86”
- SHAPE_GENERIC_X86_ARM = 'GENERIC_X86_ARM'¶
A constant which can be used with the shape property of a ApplicationSummary. This constant has a value of “GENERIC_X86_ARM”
- __init__(**kwargs)¶
Initializes a new ApplicationSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this ApplicationSummary.
compartment_id (str) – The value to assign to the compartment_id property of this ApplicationSummary.
display_name (str) – The value to assign to the display_name property of this ApplicationSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this ApplicationSummary.
subnet_ids (list[str]) – The value to assign to the subnet_ids property of this ApplicationSummary.
shape (str) – The value to assign to the shape property of this ApplicationSummary. Allowed values for this property are: “GENERIC_X86”, “GENERIC_ARM”, “GENERIC_X86_ARM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
network_security_group_ids (list[str]) – The value to assign to the network_security_group_ids property of this ApplicationSummary.
trace_config (oci.functions.models.ApplicationTraceConfig) – The value to assign to the trace_config property of this ApplicationSummary.
logging (oci.functions.models.ApplicationLoggingConfig) – The value to assign to the logging property of this ApplicationSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ApplicationSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ApplicationSummary.
time_created (datetime) – The value to assign to the time_created property of this ApplicationSummary.
time_updated (datetime) – The value to assign to the time_updated property of this ApplicationSummary.
image_policy_config (oci.functions.models.ImagePolicyConfig) – The value to assign to the image_policy_config property of this ApplicationSummary.
security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this ApplicationSummary.
- property compartment_id¶
Gets the compartment_id of this ApplicationSummary. The OCID of the compartment that contains the application.
- Returns
The compartment_id of this ApplicationSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this ApplicationSummary. 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 ApplicationSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this ApplicationSummary. The display name of the application. The display name is unique within the compartment containing the application.
- Returns
The display_name of this ApplicationSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this ApplicationSummary. 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 ApplicationSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this ApplicationSummary. The `OCID`__ of the application.
- Returns
The id of this ApplicationSummary.
- Return type
str
- property image_policy_config¶
Gets the image_policy_config of this ApplicationSummary.
- Returns
The image_policy_config of this ApplicationSummary.
- Return type
- property lifecycle_state¶
Gets the lifecycle_state of this ApplicationSummary. The current state of the application.
- Returns
The lifecycle_state of this ApplicationSummary.
- Return type
str
- property logging¶
Gets the logging of this ApplicationSummary.
- Returns
The logging of this ApplicationSummary.
- Return type
- property network_security_group_ids¶
Gets the network_security_group_ids of this ApplicationSummary. The `OCID`__s of the Network Security Groups to add the application to.
- Returns
The network_security_group_ids of this ApplicationSummary.
- Return type
list[str]
- property security_attributes¶
Gets the security_attributes of this ApplicationSummary. Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__.
Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “enforce”}}}
- Returns
The security_attributes of this ApplicationSummary.
- Return type
dict(str, dict(str, object))
- property shape¶
Gets the shape of this ApplicationSummary. Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM. Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
Allowed values for this property are: “GENERIC_X86”, “GENERIC_ARM”, “GENERIC_X86_ARM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The shape of this ApplicationSummary.
- Return type
str
- property subnet_ids¶
Gets the subnet_ids of this ApplicationSummary. The `OCID`__s of the subnets in which to run functions in the application.
- Returns
The subnet_ids of this ApplicationSummary.
- Return type
list[str]
- property time_created¶
Gets the time_created of this ApplicationSummary. The time the application was created, expressed in `RFC 3339`__ timestamp format.
Example: 2018-09-12T22:47:12.613Z
- Returns
The time_created of this ApplicationSummary.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this ApplicationSummary. The time the application was updated, expressed in `RFC 3339`__ timestamp format. Example: 2018-09-12T22:47:12.613Z
- Returns
The time_updated of this ApplicationSummary.
- Return type
datetime
- property trace_config¶
Gets the trace_config of this ApplicationSummary.
- Returns
The trace_config of this ApplicationSummary.
- Return type