CreateCredentialBasicDetails¶
- class oci.database_tools_runtime.models.CreateCredentialBasicDetails(**kwargs)¶
Bases:
CreateCredentialDetailsDetails for the Credential for the Basic type.
Attributes:
A constant which can be used with the type property of a CreateCredentialDetails.
[Required] Gets the key of this CreateCredentialDetails.
[Required] Gets the password of this CreateCredentialBasicDetails.
[Required] Gets the type of this CreateCredentialDetails.
[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'¶
A constant which can be used with the type property of a CreateCredentialDetails. This constant has a value of “BASIC”
- __init__(**kwargs)¶
Initializes a new CreateCredentialBasicDetails object with values from keyword arguments. The default value of the
typeattribute of this class isBASICand 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.
- property key¶
[Required] Gets the key of this CreateCredentialDetails. The credential_name to be created
- Returns
The key of this CreateCredentialDetails.
- Return type
str
- property password¶
[Required] Gets the password of this CreateCredentialBasicDetails. The password for the new credential.
- Returns
The password of this CreateCredentialBasicDetails.
- Return type
str
- property 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
- property 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