CreateDatabaseToolsIdentityDetails¶
-
class
oci.database_tools.models.CreateDatabaseToolsIdentityDetails(**kwargs)¶ Bases:
objectDetails for the new Database Tools identity.
Attributes
TYPE_ORACLE_DATABASE_RESOURCE_PRINCIPALA constant which can be used with the type property of a CreateDatabaseToolsIdentityDetails. compartment_id[Required] Gets the compartment_id of this CreateDatabaseToolsIdentityDetails. database_tools_connection_id[Required] Gets the database_tools_connection_id of this CreateDatabaseToolsIdentityDetails. defined_tagsGets the defined_tags of this CreateDatabaseToolsIdentityDetails. display_name[Required] Gets the display_name of this CreateDatabaseToolsIdentityDetails. freeform_tagsGets the freeform_tags of this CreateDatabaseToolsIdentityDetails. locksGets the locks of this CreateDatabaseToolsIdentityDetails. type[Required] Gets the type of this CreateDatabaseToolsIdentityDetails. Methods
__init__(**kwargs)Initializes a new CreateDatabaseToolsIdentityDetails object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
TYPE_ORACLE_DATABASE_RESOURCE_PRINCIPAL= 'ORACLE_DATABASE_RESOURCE_PRINCIPAL'¶ A constant which can be used with the type property of a CreateDatabaseToolsIdentityDetails. This constant has a value of “ORACLE_DATABASE_RESOURCE_PRINCIPAL”
-
__init__(**kwargs)¶ Initializes a new CreateDatabaseToolsIdentityDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - type (str) – The value to assign to the type property of this CreateDatabaseToolsIdentityDetails. Allowed values for this property are: “ORACLE_DATABASE_RESOURCE_PRINCIPAL”
- compartment_id (str) – The value to assign to the compartment_id property of this CreateDatabaseToolsIdentityDetails.
- display_name (str) – The value to assign to the display_name property of this CreateDatabaseToolsIdentityDetails.
- database_tools_connection_id (str) – The value to assign to the database_tools_connection_id property of this CreateDatabaseToolsIdentityDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDatabaseToolsIdentityDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDatabaseToolsIdentityDetails.
- locks (list[oci.database_tools.models.ResourceLock]) – The value to assign to the locks property of this CreateDatabaseToolsIdentityDetails.
-
compartment_id¶ [Required] Gets the compartment_id of this CreateDatabaseToolsIdentityDetails. The OCID of the compartment containing the Database Tools identity.
Returns: The compartment_id of this CreateDatabaseToolsIdentityDetails. Return type: str
-
database_tools_connection_id¶ [Required] Gets the database_tools_connection_id of this CreateDatabaseToolsIdentityDetails. The OCID of the related Database Tools connection.
Returns: The database_tools_connection_id of this CreateDatabaseToolsIdentityDetails. Return type: str
Gets the defined_tags of this CreateDatabaseToolsIdentityDetails. 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 CreateDatabaseToolsIdentityDetails. Return type: dict(str, dict(str, object))
-
display_name¶ [Required] Gets the display_name of this CreateDatabaseToolsIdentityDetails. A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
Returns: The display_name of this CreateDatabaseToolsIdentityDetails. Return type: str
Gets the freeform_tags of this CreateDatabaseToolsIdentityDetails. 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 CreateDatabaseToolsIdentityDetails. Return type: dict(str, str)
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
locks¶ Gets the locks of this CreateDatabaseToolsIdentityDetails. Locks associated with this resource.
Returns: The locks of this CreateDatabaseToolsIdentityDetails. Return type: list[oci.database_tools.models.ResourceLock]
-
type¶ [Required] Gets the type of this CreateDatabaseToolsIdentityDetails. The Database Tools identity type.
Allowed values for this property are: “ORACLE_DATABASE_RESOURCE_PRINCIPAL”
Returns: The type of this CreateDatabaseToolsIdentityDetails. Return type: str
-