DatabaseToolsUserPasswordSecretIdDetails

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

Bases: DatabaseToolsUserPasswordDetails

The database user password.

Attributes:

VALUE_TYPE_SECRETID

A constant which can be used with the value_type property of a DatabaseToolsUserPasswordDetails.

secret_id

[Required] Gets the secret_id of this DatabaseToolsUserPasswordSecretIdDetails.

value_type

[Required] Gets the value_type of this DatabaseToolsUserPasswordDetails.

Methods:

__init__(**kwargs)

Initializes a new DatabaseToolsUserPasswordSecretIdDetails 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.

VALUE_TYPE_SECRETID = 'SECRETID'

A constant which can be used with the value_type property of a DatabaseToolsUserPasswordDetails. This constant has a value of “SECRETID”

__init__(**kwargs)

Initializes a new DatabaseToolsUserPasswordSecretIdDetails object with values from keyword arguments. The default value of the value_type attribute of this class is SECRETID and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • value_type (str) – The value to assign to the value_type property of this DatabaseToolsUserPasswordSecretIdDetails. Allowed values for this property are: “SECRETID”

  • secret_id (str) – The value to assign to the secret_id property of this DatabaseToolsUserPasswordSecretIdDetails.

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 secret_id

[Required] Gets the secret_id of this DatabaseToolsUserPasswordSecretIdDetails. The OCID of the secret containing the user password.

Returns

The secret_id of this DatabaseToolsUserPasswordSecretIdDetails.

Return type

str

property value_type

[Required] Gets the value_type of this DatabaseToolsUserPasswordDetails. The value type of the user password.

Allowed values for this property are: “SECRETID”

Returns

The value_type of this DatabaseToolsUserPasswordDetails.

Return type

str