GovernanceInstanceSummary¶
-
class
oci.access_governance_cp.models.
GovernanceInstanceSummary
(**kwargs)¶ Bases:
object
The summary of an GovernanceInstance.
Attributes
LICENSE_TYPE_AG_OCI
A constant which can be used with the license_type property of a GovernanceInstanceSummary. LICENSE_TYPE_AG_ORACLE_WORKLOADS
A constant which can be used with the license_type property of a GovernanceInstanceSummary. LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
A constant which can be used with the license_type property of a GovernanceInstanceSummary. LICENSE_TYPE_NEW_LICENSE
A constant which can be used with the license_type property of a GovernanceInstanceSummary. LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a GovernanceInstanceSummary. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a GovernanceInstanceSummary. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a GovernanceInstanceSummary. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a GovernanceInstanceSummary. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a GovernanceInstanceSummary. compartment_id
[Required] Gets the compartment_id of this GovernanceInstanceSummary. defined_tags
Gets the defined_tags of this GovernanceInstanceSummary. description
Gets the description of this GovernanceInstanceSummary. display_name
[Required] Gets the display_name of this GovernanceInstanceSummary. freeform_tags
Gets the freeform_tags of this GovernanceInstanceSummary. id
Gets the id of this GovernanceInstanceSummary. instance_url
Gets the instance_url of this GovernanceInstanceSummary. license_type
Gets the license_type of this GovernanceInstanceSummary. lifecycle_state
[Required] Gets the lifecycle_state of this GovernanceInstanceSummary. system_tags
Gets the system_tags of this GovernanceInstanceSummary. time_created
[Required] Gets the time_created of this GovernanceInstanceSummary. time_updated
Gets the time_updated of this GovernanceInstanceSummary. Methods
__init__
(**kwargs)Initializes a new GovernanceInstanceSummary 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 GovernanceInstanceSummary. 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 GovernanceInstanceSummary. 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 GovernanceInstanceSummary. 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 GovernanceInstanceSummary. 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 GovernanceInstanceSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a GovernanceInstanceSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a GovernanceInstanceSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a GovernanceInstanceSummary. 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 GovernanceInstanceSummary. This constant has a value of “NEEDS_ATTENTION”
-
__init__
(**kwargs)¶ Initializes a new GovernanceInstanceSummary 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 GovernanceInstanceSummary.
- display_name (str) – The value to assign to the display_name property of this GovernanceInstanceSummary.
- description (str) – The value to assign to the description property of this GovernanceInstanceSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this GovernanceInstanceSummary.
- time_created (datetime) – The value to assign to the time_created property of this GovernanceInstanceSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this GovernanceInstanceSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this GovernanceInstanceSummary. 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’.
- license_type (str) – The value to assign to the license_type property of this GovernanceInstanceSummary. 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’.
- instance_url (str) – The value to assign to the instance_url property of this GovernanceInstanceSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this GovernanceInstanceSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this GovernanceInstanceSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this GovernanceInstanceSummary.
-
compartment_id
¶ [Required] Gets the compartment_id of this GovernanceInstanceSummary. The OCID of the compartment where the GovernanceInstance resides.
Returns: The compartment_id of this GovernanceInstanceSummary. Return type: str
Gets the defined_tags of this GovernanceInstanceSummary. 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 GovernanceInstanceSummary. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this GovernanceInstanceSummary. The description of the GovernanceInstance.
Returns: The description of this GovernanceInstanceSummary. Return type: str
-
display_name
¶ [Required] Gets the display_name of this GovernanceInstanceSummary. The name for the GovernanceInstance.
Returns: The display_name of this GovernanceInstanceSummary. Return type: str
Gets the freeform_tags of this GovernanceInstanceSummary. 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 GovernanceInstanceSummary. Return type: dict(str, str)
-
id
¶ Gets the id of this GovernanceInstanceSummary. The unique OCID of the GovernanceInstance.
Returns: The id of this GovernanceInstanceSummary. Return type: str
-
instance_url
¶ Gets the instance_url of this GovernanceInstanceSummary. The access URL of the GovernanceInstance.
Returns: The instance_url of this GovernanceInstanceSummary. Return type: str
-
license_type
¶ Gets the license_type of this GovernanceInstanceSummary. 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 GovernanceInstanceSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this GovernanceInstanceSummary. 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 GovernanceInstanceSummary. Return type: str
Gets the system_tags of this GovernanceInstanceSummary. 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 GovernanceInstanceSummary. Return type: dict(str, dict(str, object))
-
time_created
¶ [Required] Gets the time_created of this GovernanceInstanceSummary. The time the the GovernanceInstance was created in an RFC3339 formatted datetime string.
Returns: The time_created of this GovernanceInstanceSummary. Return type: datetime
-
time_updated
¶ Gets the time_updated of this GovernanceInstanceSummary. The time the GovernanceInstance was updated in an RFC3339 formatted datetime string.
Returns: The time_updated of this GovernanceInstanceSummary. Return type: datetime
-