a OfU@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d Z d d Z e d d Zejdd Ze ddZejddZe ddZejddZe ddZejddZe ddZejddZe ddZejddZe ddZejd dZe d!d"Zejd#d"Ze d$d%Zejd&d%Ze d'd(Zejd)d(Ze d*d+Zejd,d+Ze d-d.Zejd/d.Ze d0d1Zejd2d1Ze d3d4Zejd5d4Ze d6d7Zejd8d7Zd9d:Zd;d<Zd=d>Z d?S)@Stacka The properties that define a stack. A stack is the collection of Oracle Cloud Infrastructure resources corresponding to a given Terraform configuration. For instructions on managing stacks, see `Managing Stacks`__. For more information about stacks, see `Key Concepts`__. __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/stacks.htm __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__stackdefinition CREATINGACTIVEDELETINGDELETEDFAILED NOT_CHECKEDIN_SYNCDRIFTEDcKsdddddddddddddddd|_d d d d d ddddddddddd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_dS)a Initializes a new Stack object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this Stack. :type id: str :param compartment_id: The value to assign to the compartment_id property of this Stack. :type compartment_id: str :param display_name: The value to assign to the display_name property of this Stack. :type display_name: str :param description: The value to assign to the description property of this Stack. :type description: str :param time_created: The value to assign to the time_created property of this Stack. :type time_created: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Stack. Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param config_source: The value to assign to the config_source property of this Stack. :type config_source: oci.resource_manager.models.ConfigSource :param custom_terraform_provider: The value to assign to the custom_terraform_provider property of this Stack. :type custom_terraform_provider: oci.resource_manager.models.CustomTerraformProvider :param is_third_party_provider_experience_enabled: The value to assign to the is_third_party_provider_experience_enabled property of this Stack. :type is_third_party_provider_experience_enabled: bool :param variables: The value to assign to the variables property of this Stack. :type variables: dict(str, str) :param terraform_version: The value to assign to the terraform_version property of this Stack. :type terraform_version: str :param stack_drift_status: The value to assign to the stack_drift_status property of this Stack. Allowed values for this property are: "NOT_CHECKED", "IN_SYNC", "DRIFTED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type stack_drift_status: str :param time_drift_last_checked: The value to assign to the time_drift_last_checked property of this Stack. :type time_drift_last_checked: datetime :param freeform_tags: The value to assign to the freeform_tags property of this Stack. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Stack. :type defined_tags: dict(str, dict(str, object)) strdatetime ConfigSourceCustomTerraformProviderboolzdict(str, str)zdict(str, dict(str, object)))idcompartment_id display_name description time_createdlifecycle_state config_sourcecustom_terraform_provider*is_third_party_provider_experience_enabled variablesterraform_versionstack_drift_statustime_drift_last_checked freeform_tags defined_tagsr compartmentId displayNamer timeCreatedlifecycleState configSourcecustomTerraformProvider%isThirdPartyProviderExperienceEnabledrterraformVersionstackDriftStatustimeDriftLastChecked freeformTags definedTagsN) swagger_types attribute_map_id_compartment_id _display_name _description _time_created_lifecycle_state_config_source_custom_terraform_provider+_is_third_party_provider_experience_enabled _variables_terraform_version_stack_drift_status_time_drift_last_checked_freeform_tags _defined_tags)selfkwargsrB/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/resource_manager/models/stack.py__init__8s^GzStack.__init__cCs|jS)z Gets the id of this Stack. Unique identifier (`OCID`__) for the stack. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this Stack. :rtype: str r1r@rBrBrCrs zStack.idcCs ||_dS)z Sets the id of this Stack. Unique identifier (`OCID`__) for the stack. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this Stack. :type: str NrE)r@rrBrBrCrs cCs|jS)a. Gets the compartment_id of this Stack. Unique identifier (`OCID`__) for the compartment where the stack is located. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Stack. :rtype: str r2rFrBrBrCrs zStack.compartment_idcCs ||_dS)a; Sets the compartment_id of this Stack. Unique identifier (`OCID`__) for the compartment where the stack is located. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Stack. :type: str NrG)r@rrBrBrCrs cCs|jS)z Gets the display_name of this Stack. Human-readable name of the stack. :return: The display_name of this Stack. :rtype: str r3rFrBrBrCrs zStack.display_namecCs ||_dS)z Sets the display_name of this Stack. Human-readable name of the stack. :param display_name: The display_name of this Stack. :type: str NrH)r@rrBrBrCrs cCs|jS)z Gets the description of this Stack. Description of the stack. :return: The description of this Stack. :rtype: str r4rFrBrBrCrs zStack.descriptioncCs ||_dS)z Sets the description of this Stack. Description of the stack. :param description: The description of this Stack. :type: str NrI)r@rrBrBrCrs cCs|jS)a Gets the time_created of this Stack. The date and time at which the stack was created. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z` :return: The time_created of this Stack. :rtype: datetime r5rFrBrBrCrs zStack.time_createdcCs ||_dS)a Sets the time_created of this Stack. The date and time at which the stack was created. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z` :param time_created: The time_created of this Stack. :type: datetime NrJ)r@rrBrBrCr(s cCs|jS)av Gets the lifecycle_state of this Stack. The current lifecycle state of the stack. For more information about stack lifecycle states in Resource Manager, see `Key Concepts`__. __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__StackStates Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Stack. :rtype: str )r6rFrBrBrCr6szStack.lifecycle_statecCs gd}t||sd}||_dS)a Sets the lifecycle_state of this Stack. The current lifecycle state of the stack. For more information about stack lifecycle states in Resource Manager, see `Key Concepts`__. __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__StackStates :param lifecycle_state: The lifecycle_state of this Stack. :type: str )rrr r r UNKNOWN_ENUM_VALUEN)rr6)r@rallowed_valuesrBrBrCrIs cCs|jS)z Gets the config_source of this Stack. :return: The config_source of this Stack. :rtype: oci.resource_manager.models.ConfigSource r7rFrBrBrCr\szStack.config_sourcecCs ||_dS)z Sets the config_source of this Stack. :param config_source: The config_source of this Stack. :type: oci.resource_manager.models.ConfigSource NrM)r@rrBrBrCrfscCs|jS)z Gets the custom_terraform_provider of this Stack. :return: The custom_terraform_provider of this Stack. :rtype: oci.resource_manager.models.CustomTerraformProvider r8rFrBrBrCrpszStack.custom_terraform_providercCs ||_dS)z Sets the custom_terraform_provider of this Stack. :param custom_terraform_provider: The custom_terraform_provider of this Stack. :type: oci.resource_manager.models.CustomTerraformProvider NrN)r@rrBrBrCrzscCs|jS)a Gets the is_third_party_provider_experience_enabled of this Stack. When `true`, the stack sources third-party Terraform providers from `Terraform Registry`__ and allows :func:`custom_terraform_provider`. For more information about stack sourcing of third-party Terraform providers, see `Third-party Provider Configuration`__. __ https://registry.terraform.io/browse/providers __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#third-party-providers :return: The is_third_party_provider_experience_enabled of this Stack. :rtype: bool r9rFrBrBrCrsz0Stack.is_third_party_provider_experience_enabledcCs ||_dS)a Sets the is_third_party_provider_experience_enabled of this Stack. When `true`, the stack sources third-party Terraform providers from `Terraform Registry`__ and allows :func:`custom_terraform_provider`. For more information about stack sourcing of third-party Terraform providers, see `Third-party Provider Configuration`__. __ https://registry.terraform.io/browse/providers __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#third-party-providers :param is_third_party_provider_experience_enabled: The is_third_party_provider_experience_enabled of this Stack. :type: bool NrO)r@rrBrBrCrscCs|jS)a Gets the variables of this Stack. Terraform variables associated with this resource. Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{"CompartmentId": "compartment-id-value"}` :return: The variables of this Stack. :rtype: dict(str, str) r:rFrBrBrCrs zStack.variablescCs ||_dS)a Sets the variables of this Stack. Terraform variables associated with this resource. Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{"CompartmentId": "compartment-id-value"}` :param variables: The variables of this Stack. :type: dict(str, str) NrP)r@rrBrBrCrs cCs|jS)z Gets the terraform_version of this Stack. The version of Terraform specified for the stack. Example: `0.12.x` :return: The terraform_version of this Stack. :rtype: str r;rFrBrBrCrs zStack.terraform_versioncCs ||_dS)z Sets the terraform_version of this Stack. The version of Terraform specified for the stack. Example: `0.12.x` :param terraform_version: The terraform_version of this Stack. :type: str NrQ)r@rrBrBrCrs cCs|jS)a Gets the stack_drift_status of this Stack. Drift status of the stack. Drift refers to differences between the actual (current) state of the stack and the expected (defined) state of the stack. Allowed values for this property are: "NOT_CHECKED", "IN_SYNC", "DRIFTED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The stack_drift_status of this Stack. :rtype: str )r<rFrBrBrCrszStack.stack_drift_statuscCs gd}t||sd}||_dS)a@ Sets the stack_drift_status of this Stack. Drift status of the stack. Drift refers to differences between the actual (current) state of the stack and the expected (defined) state of the stack. :param stack_drift_status: The stack_drift_status of this Stack. :type: str )r r rrKN)rr<)r@rrLrBrBrCrs  cCs|jS)a0 Gets the time_drift_last_checked of this Stack. The date and time when the drift detection was last executed. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z` :return: The time_drift_last_checked of this Stack. :rtype: datetime r=rFrBrBrCr s zStack.time_drift_last_checkedcCs ||_dS)aF Sets the time_drift_last_checked of this Stack. The date and time when the drift detection was last executed. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z` :param time_drift_last_checked: The time_drift_last_checked of this Stack. :type: datetime NrR)r@r rBrBrCr s cCs|jS)a Gets the freeform_tags of this Stack. Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this Stack. :rtype: dict(str, str) r>rFrBrBrCr!szStack.freeform_tagscCs ||_dS)a Sets the freeform_tags of this Stack. Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this Stack. :type: dict(str, str) NrS)r@r!rBrBrCr!,scCs|jS)a Gets the defined_tags of this Stack. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this Stack. :rtype: dict(str, dict(str, object)) r?rFrBrBrCr"<szStack.defined_tagscCs ||_dS)a Sets the defined_tags of this Stack. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this Stack. :type: dict(str, dict(str, object)) NrT)r@r"rBrBrCr"LscCst|SN)rrFrBrBrC__repr__\szStack.__repr__cCs|dur dS|j|jkS)NF)__dict__r@otherrBrBrC__eq___sz Stack.__eq__cCs ||k SrUrBrXrBrBrC__ne__esz Stack.__ne__N)!__name__ __module__ __qualname____doc__LIFECYCLE_STATE_CREATINGLIFECYCLE_STATE_ACTIVELIFECYCLE_STATE_DELETINGLIFECYCLE_STATE_DELETEDLIFECYCLE_STATE_FAILEDSTACK_DRIFT_STATUS_NOT_CHECKEDSTACK_DRIFT_STATUS_IN_SYNCSTACK_DRIFT_STATUS_DRIFTEDrDpropertyrsetterrrrrrrrrrrrr r!r"rVrZr[rBrBrBrCr sz                              rN)oci.utilrrroci.decoratorsrobjectrrBrBrBrCs