CreateCredentialBasicDetails

class oci.database_tools_runtime.models.CreateCredentialBasicDetails(**kwargs)

Bases: oci.database_tools_runtime.models.create_credential_details.CreateCredentialDetails

Details for the Credential for the Basic type.

Attributes

TYPE_BASIC str(object=’’) -> str
key [Required] Gets the key of this CreateCredentialDetails.
password [Required] Gets the password of this CreateCredentialBasicDetails.
type [Required] Gets the type of this CreateCredentialDetails.
user_name [Required] Gets the user_name of this CreateCredentialBasicDetails.

Methods

__init__(**kwargs) Initializes a new CreateCredentialBasicDetails 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_BASIC = 'BASIC'
__init__(**kwargs)

Initializes a new CreateCredentialBasicDetails object with values from keyword arguments. The default value of the type attribute of this class is BASIC and it should not be changed. 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 CreateCredentialBasicDetails. Allowed values for this property are: “BASIC”
  • key (str) – The value to assign to the key property of this CreateCredentialBasicDetails.
  • user_name (str) – The value to assign to the user_name property of this CreateCredentialBasicDetails.
  • password (str) – The value to assign to the password property of this CreateCredentialBasicDetails.
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.

key

[Required] Gets the key of this CreateCredentialDetails. The credential_name to be created

Returns:The key of this CreateCredentialDetails.
Return type:str
password

[Required] Gets the password of this CreateCredentialBasicDetails. The password for the new credential.

Returns:The password of this CreateCredentialBasicDetails.
Return type:str
type

[Required] Gets the type of this CreateCredentialDetails. The type of credential.

Allowed values for this property are: “BASIC”

Returns:The type of this CreateCredentialDetails.
Return type:str
user_name

[Required] Gets the user_name of this CreateCredentialBasicDetails. The username for the new credential.

Returns:The user_name of this CreateCredentialBasicDetails.
Return type:str