CreateGovernanceInstanceDetails¶
- class oci.access_governance_cp.models.CreateGovernanceInstanceDetails(**kwargs)¶
Bases:
objectThe details about a new GovernanceInstance.
Attributes:
A constant which can be used with the license_type property of a CreateGovernanceInstanceDetails.
A constant which can be used with the license_type property of a CreateGovernanceInstanceDetails.
A constant which can be used with the license_type property of a CreateGovernanceInstanceDetails.
A constant which can be used with the license_type property of a CreateGovernanceInstanceDetails.
[Required] Gets the compartment_id of this CreateGovernanceInstanceDetails.
Gets the defined_tags of this CreateGovernanceInstanceDetails.
Gets the description of this CreateGovernanceInstanceDetails.
[Required] Gets the display_name of this CreateGovernanceInstanceDetails.
Gets the freeform_tags of this CreateGovernanceInstanceDetails.
[Required] Gets the idcs_access_token of this CreateGovernanceInstanceDetails.
[Required] Gets the license_type of this CreateGovernanceInstanceDetails.
Gets the system_tags of this CreateGovernanceInstanceDetails.
[Required] Gets the tenancy_namespace of this CreateGovernanceInstanceDetails.
Methods:
__init__(**kwargs)Initializes a new CreateGovernanceInstanceDetails 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 CreateGovernanceInstanceDetails. 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 CreateGovernanceInstanceDetails. 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 CreateGovernanceInstanceDetails. 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 CreateGovernanceInstanceDetails. This constant has a value of “NEW_LICENSE”
- __init__(**kwargs)¶
Initializes a new CreateGovernanceInstanceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateGovernanceInstanceDetails.
description (str) – The value to assign to the description property of this CreateGovernanceInstanceDetails.
license_type (str) – The value to assign to the license_type property of this CreateGovernanceInstanceDetails. Allowed values for this property are: “NEW_LICENSE”, “BRING_YOUR_OWN_LICENSE”, “AG_ORACLE_WORKLOADS”, “AG_OCI”
tenancy_namespace (str) – The value to assign to the tenancy_namespace property of this CreateGovernanceInstanceDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateGovernanceInstanceDetails.
idcs_access_token (str) – The value to assign to the idcs_access_token property of this CreateGovernanceInstanceDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateGovernanceInstanceDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateGovernanceInstanceDetails.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this CreateGovernanceInstanceDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateGovernanceInstanceDetails. The OCID of the compartment where the GovernanceInstance resides.
- Returns
The compartment_id of this CreateGovernanceInstanceDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateGovernanceInstanceDetails. 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 CreateGovernanceInstanceDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateGovernanceInstanceDetails. The description of the GovernanceInstance.
- Returns
The description of this CreateGovernanceInstanceDetails.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this CreateGovernanceInstanceDetails. The name for the GovernanceInstance.
- Returns
The display_name of this CreateGovernanceInstanceDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateGovernanceInstanceDetails. 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 CreateGovernanceInstanceDetails.
- Return type
dict(str, str)
- property idcs_access_token¶
[Required] Gets the idcs_access_token of this CreateGovernanceInstanceDetails. IDCS access token identifying a stripe and service administrator user.
- Returns
The idcs_access_token of this CreateGovernanceInstanceDetails.
- Return type
str
- property license_type¶
[Required] Gets the license_type of this CreateGovernanceInstanceDetails. The licenseType being used.
Allowed values for this property are: “NEW_LICENSE”, “BRING_YOUR_OWN_LICENSE”, “AG_ORACLE_WORKLOADS”, “AG_OCI”
- Returns
The license_type of this CreateGovernanceInstanceDetails.
- Return type
str
- property system_tags¶
Gets the system_tags of this CreateGovernanceInstanceDetails. 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 CreateGovernanceInstanceDetails.
- Return type
dict(str, dict(str, object))
- property tenancy_namespace¶
[Required] Gets the tenancy_namespace of this CreateGovernanceInstanceDetails. The namespace for tenancy object storage.
- Returns
The tenancy_namespace of this CreateGovernanceInstanceDetails.
- Return type
str