BasicAuthenticationDetails¶
-
class
oci.apm_synthetics.models.BasicAuthenticationDetails(**kwargs)¶ Bases:
objectDetails for basic authentication.
Methods
__init__(**kwargs)Initializes a new BasicAuthenticationDetails object with values from keyword arguments. Attributes
password[Required] Gets the password of this BasicAuthenticationDetails. username[Required] Gets the username of this BasicAuthenticationDetails. -
__init__(**kwargs)¶ Initializes a new BasicAuthenticationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - username (str) – The value to assign to the username property of this BasicAuthenticationDetails.
- password (oci.apm_synthetics.models.Password) – The value to assign to the password property of this BasicAuthenticationDetails.
-
password¶ [Required] Gets the password of this BasicAuthenticationDetails.
Returns: The password of this BasicAuthenticationDetails. Return type: oci.apm_synthetics.models.Password
-
username¶ [Required] Gets the username of this BasicAuthenticationDetails. Username for authentication.
Returns: The username of this BasicAuthenticationDetails. Return type: str
-