PlainTextPasswordDetails¶
- class oci.resource_analytics.models.PlainTextPasswordDetails(**kwargs)¶
Bases:
AdwAdminPasswordDetailsDetails for the PLAIN_TEXT ADW Admin password.
Attributes:
A constant which can be used with the password_type property of a AdwAdminPasswordDetails.
A constant which can be used with the password_type property of a AdwAdminPasswordDetails.
[Required] Gets the password of this PlainTextPasswordDetails.
[Required] Gets the password_type of this AdwAdminPasswordDetails.
Methods:
__init__(**kwargs)Initializes a new PlainTextPasswordDetails 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.
- PASSWORD_TYPE_PLAIN_TEXT = 'PLAIN_TEXT'¶
A constant which can be used with the password_type property of a AdwAdminPasswordDetails. This constant has a value of “PLAIN_TEXT”
- PASSWORD_TYPE_VAULT_SECRET = 'VAULT_SECRET'¶
A constant which can be used with the password_type property of a AdwAdminPasswordDetails. This constant has a value of “VAULT_SECRET”
- __init__(**kwargs)¶
Initializes a new PlainTextPasswordDetails object with values from keyword arguments. The default value of the
password_typeattribute of this class isPLAIN_TEXTand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
password_type (str) – The value to assign to the password_type property of this PlainTextPasswordDetails. Allowed values for this property are: “PLAIN_TEXT”, “VAULT_SECRET”
password (str) – The value to assign to the password property of this PlainTextPasswordDetails.
- 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 password¶
[Required] Gets the password of this PlainTextPasswordDetails. Password for the ADW to be created in User Tenancy. The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (“) or the username “admin”, regardless of casing.
- Returns
The password of this PlainTextPasswordDetails.
- Return type
str
- property password_type¶
[Required] Gets the password_type of this AdwAdminPasswordDetails. Password type
Allowed values for this property are: “PLAIN_TEXT”, “VAULT_SECRET”
- Returns
The password_type of this AdwAdminPasswordDetails.
- Return type
str