Password

class oci.apm_synthetics.models.Password(**kwargs)

Bases: object

Password.

Attributes

PASSWORD_TYPE_IN_TEXT A constant which can be used with the password_type property of a Password.
PASSWORD_TYPE_VAULT_SECRET_ID A constant which can be used with the password_type property of a Password.
password_type Gets the password_type of this Password.

Methods

__init__(**kwargs) Initializes a new Password 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_IN_TEXT = 'IN_TEXT'

A constant which can be used with the password_type property of a Password. This constant has a value of “IN_TEXT”

PASSWORD_TYPE_VAULT_SECRET_ID = 'VAULT_SECRET_ID'

A constant which can be used with the password_type property of a Password. This constant has a value of “VAULT_SECRET_ID”

__init__(**kwargs)

Initializes a new Password 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 Password. Allowed values for this property are: “IN_TEXT”, “VAULT_SECRET_ID”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
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

Gets the password_type of this Password. Type of method to pass password.

Allowed values for this property are: “IN_TEXT”, “VAULT_SECRET_ID”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The password_type of this Password.
Return type:str