GovernanceInstanceSummary¶
- class oci.access_governance_cp.models.GovernanceInstanceSummary(**kwargs)¶
Bases:
objectThe summary of an GovernanceInstance.
Attributes:
A constant which can be used with the license_type property of a GovernanceInstanceSummary.
A constant which can be used with the license_type property of a GovernanceInstanceSummary.
A constant which can be used with the license_type property of a GovernanceInstanceSummary.
A constant which can be used with the license_type property of a GovernanceInstanceSummary.
A constant which can be used with the lifecycle_state property of a GovernanceInstanceSummary.
A constant which can be used with the lifecycle_state property of a GovernanceInstanceSummary.
A constant which can be used with the lifecycle_state property of a GovernanceInstanceSummary.
A constant which can be used with the lifecycle_state property of a GovernanceInstanceSummary.
A constant which can be used with the lifecycle_state property of a GovernanceInstanceSummary.
[Required] Gets the compartment_id of this GovernanceInstanceSummary.
Gets the defined_tags of this GovernanceInstanceSummary.
Gets the description of this GovernanceInstanceSummary.
[Required] Gets the display_name of this GovernanceInstanceSummary.
Gets the freeform_tags of this GovernanceInstanceSummary.
Gets the id of this GovernanceInstanceSummary.
Gets the instance_url of this GovernanceInstanceSummary.
Gets the license_type of this GovernanceInstanceSummary.
[Required] Gets the lifecycle_state of this GovernanceInstanceSummary.
Gets the system_tags of this GovernanceInstanceSummary.
[Required] Gets the time_created of this GovernanceInstanceSummary.
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.
- property 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
- property defined_tags¶
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))
- property description¶
Gets the description of this GovernanceInstanceSummary. The description of the GovernanceInstance.
- Returns
The description of this GovernanceInstanceSummary.
- Return type
str
- property 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
- property freeform_tags¶
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)
- property id¶
Gets the id of this GovernanceInstanceSummary. The unique OCID of the GovernanceInstance.
- Returns
The id of this GovernanceInstanceSummary.
- Return type
str
- property 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
- property 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
- property 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
- property system_tags¶
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))
- property 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
- property 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