UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails

class oci.database_tools.models.UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails(**kwargs)

Bases: UpdateDatabaseToolsIdentityDetails

Database Tools identity information to be updated for the Oracle Database resource principal identity type.

Attributes:

TYPE_ORACLE_DATABASE_RESOURCE_PRINCIPAL

A constant which can be used with the type property of a UpdateDatabaseToolsIdentityDetails.

defined_tags

Gets the defined_tags of this UpdateDatabaseToolsIdentityDetails.

display_name

Gets the display_name of this UpdateDatabaseToolsIdentityDetails.

freeform_tags

Gets the freeform_tags of this UpdateDatabaseToolsIdentityDetails.

type

[Required] Gets the type of this UpdateDatabaseToolsIdentityDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails 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 UpdateDatabaseToolsIdentityDetails. This constant has a value of “ORACLE_DATABASE_RESOURCE_PRINCIPAL”

__init__(**kwargs)

Initializes a new UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails object with values from keyword arguments. The default value of the type attribute of this class is ORACLE_DATABASE_RESOURCE_PRINCIPAL and it should not be changed. 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 UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails.

  • type (str) – The value to assign to the type property of this UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails. Allowed values for this property are: “ORACLE_DATABASE_RESOURCE_PRINCIPAL”

property defined_tags

Gets the defined_tags of this UpdateDatabaseToolsIdentityDetails. 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 UpdateDatabaseToolsIdentityDetails.

Return type

dict(str, dict(str, object))

property display_name

Gets the display_name of this UpdateDatabaseToolsIdentityDetails. A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.

Returns

The display_name of this UpdateDatabaseToolsIdentityDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this UpdateDatabaseToolsIdentityDetails. 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 UpdateDatabaseToolsIdentityDetails.

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.

property type

[Required] Gets the type of this UpdateDatabaseToolsIdentityDetails. The Database Tools identity type.

Allowed values for this property are: “ORACLE_DATABASE_RESOURCE_PRINCIPAL”

Returns

The type of this UpdateDatabaseToolsIdentityDetails.

Return type

str