GovernanceInstance¶
-
class
oci.access_governance_cp.models.
GovernanceInstance
(**kwargs)¶ Bases:
object
The details of a GovenanceInstance.
Attributes
LICENSE_TYPE_AG_OCI
A constant which can be used with the license_type property of a GovernanceInstance. LICENSE_TYPE_AG_ORACLE_WORKLOADS
A constant which can be used with the license_type property of a GovernanceInstance. LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
A constant which can be used with the license_type property of a GovernanceInstance. LICENSE_TYPE_NEW_LICENSE
A constant which can be used with the license_type property of a GovernanceInstance. LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a GovernanceInstance. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a GovernanceInstance. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a GovernanceInstance. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a GovernanceInstance. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a GovernanceInstance. compartment_id
[Required] Gets the compartment_id of this GovernanceInstance. defined_tags
Gets the defined_tags of this GovernanceInstance. description
Gets the description of this GovernanceInstance. display_name
[Required] Gets the display_name of this GovernanceInstance. freeform_tags
Gets the freeform_tags of this GovernanceInstance. id
Gets the id of this GovernanceInstance. instance_url
Gets the instance_url of this GovernanceInstance. license_type
Gets the license_type of this GovernanceInstance. lifecycle_state
[Required] Gets the lifecycle_state of this GovernanceInstance. system_tags
Gets the system_tags of this GovernanceInstance. tenancy_namespace
Gets the tenancy_namespace of this GovernanceInstance. time_created
[Required] Gets the time_created of this GovernanceInstance. time_updated
Gets the time_updated of this GovernanceInstance. Methods
__init__
(**kwargs)Initializes a new GovernanceInstance object with values from keyword arguments. -
LICENSE_TYPE_AG_OCI
= 'AG_OCI'¶ A constant which can be used with the license_type property of a GovernanceInstance. This constant has a value of “AG_OCI”
-
LICENSE_TYPE_AG_ORACLE_WORKLOADS
= 'AG_ORACLE_WORKLOADS'¶ A constant which can be used with the license_type property of a GovernanceInstance. This constant has a value of “AG_ORACLE_WORKLOADS”
-
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
= 'BRING_YOUR_OWN_LICENSE'¶ A constant which can be used with the license_type property of a GovernanceInstance. This constant has a value of “BRING_YOUR_OWN_LICENSE”
-
LICENSE_TYPE_NEW_LICENSE
= 'NEW_LICENSE'¶ A constant which can be used with the license_type property of a GovernanceInstance. This constant has a value of “NEW_LICENSE”
-
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a GovernanceInstance. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a GovernanceInstance. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a GovernanceInstance. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a GovernanceInstance. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_NEEDS_ATTENTION
= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a GovernanceInstance. This constant has a value of “NEEDS_ATTENTION”
-
__init__
(**kwargs)¶ Initializes a new GovernanceInstance 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 GovernanceInstance.
- display_name (str) – The value to assign to the display_name property of this GovernanceInstance.
- compartment_id (str) – The value to assign to the compartment_id property of this GovernanceInstance.
- time_created (datetime) – The value to assign to the time_created property of this GovernanceInstance.
- time_updated (datetime) – The value to assign to the time_updated property of this GovernanceInstance.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this GovernanceInstance. Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- description (str) – The value to assign to the description property of this GovernanceInstance.
- license_type (str) – The value to assign to the license_type property of this GovernanceInstance. Allowed values for this property are: “NEW_LICENSE”, “BRING_YOUR_OWN_LICENSE”, “AG_ORACLE_WORKLOADS”, “AG_OCI”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- tenancy_namespace (str) – The value to assign to the tenancy_namespace property of this GovernanceInstance.
- instance_url (str) – The value to assign to the instance_url property of this GovernanceInstance.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this GovernanceInstance.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this GovernanceInstance.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this GovernanceInstance.
-
compartment_id
¶ [Required] Gets the compartment_id of this GovernanceInstance. The OCID of the compartment where the GovernanceInstance resides.
Returns: The compartment_id of this GovernanceInstance. Return type: str
Gets the defined_tags of this GovernanceInstance. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this GovernanceInstance. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this GovernanceInstance. The description of the GovernanceInstance.
Returns: The description of this GovernanceInstance. Return type: str
-
display_name
¶ [Required] Gets the display_name of this GovernanceInstance. The name for the GovernanceInstance.
Returns: The display_name of this GovernanceInstance. Return type: str
Gets the freeform_tags of this GovernanceInstance. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this GovernanceInstance. Return type: dict(str, str)
-
id
¶ Gets the id of this GovernanceInstance. The unique OCID of the GovernanceInstance.
Returns: The id of this GovernanceInstance. Return type: str
-
instance_url
¶ Gets the instance_url of this GovernanceInstance. The access URL of the GovernanceInstance.
Returns: The instance_url of this GovernanceInstance. Return type: str
-
license_type
¶ Gets the license_type of this GovernanceInstance. The licenseType being used.
Allowed values for this property are: “NEW_LICENSE”, “BRING_YOUR_OWN_LICENSE”, “AG_ORACLE_WORKLOADS”, “AG_OCI”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The license_type of this GovernanceInstance. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this GovernanceInstance. The current state of the GovernanceInstance.
Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this GovernanceInstance. Return type: str
Gets the system_tags of this GovernanceInstance. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this GovernanceInstance. Return type: dict(str, dict(str, object))
-
tenancy_namespace
¶ Gets the tenancy_namespace of this GovernanceInstance. The namespace for tenancy object storage.
Returns: The tenancy_namespace of this GovernanceInstance. Return type: str
-
time_created
¶ [Required] Gets the time_created of this GovernanceInstance. The time the the GovernanceInstance was created in an RFC3339 formatted datetime string.
Returns: The time_created of this GovernanceInstance. Return type: datetime
-
time_updated
¶ Gets the time_updated of this GovernanceInstance. The time the GovernanceInstance was updated in an RFC3339 formatted datetime string.
Returns: The time_updated of this GovernanceInstance. Return type: datetime
-