AdwAdminPasswordDetails

class oci.resource_analytics.models.AdwAdminPasswordDetails(**kwargs)

Bases: object

Details for the ADW Admin password. Password can be passed as VaultSecretPasswordDetails or PlainTextPasswordDetails.

Example: {“passwordType”:”PLAIN_TEXT”,”password”:”…”} Example: {“passwordType”:”VAULT_SECRET”,”secretId”:”ocid…”}

Attributes

PASSWORD_TYPE_PLAIN_TEXT A constant which can be used with the password_type property of a AdwAdminPasswordDetails.
PASSWORD_TYPE_VAULT_SECRET A constant which can be used with the password_type property of a AdwAdminPasswordDetails.
password_type [Required] Gets the password_type of this AdwAdminPasswordDetails.

Methods

__init__(**kwargs) Initializes a new AdwAdminPasswordDetails 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 AdwAdminPasswordDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 AdwAdminPasswordDetails. Allowed values for this property are: “PLAIN_TEXT”, “VAULT_SECRET”
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.

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