CredentialProperty

class oci.stack_monitoring.models.CredentialProperty(**kwargs)

Bases: object

Monitored resource credential property.

Methods

__init__(**kwargs) Initializes a new CredentialProperty object with values from keyword arguments.

Attributes

name [Required] Gets the name of this CredentialProperty.
value [Required] Gets the value of this CredentialProperty.
__init__(**kwargs)

Initializes a new CredentialProperty object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this CredentialProperty.
  • value (str) – The value to assign to the value property of this CredentialProperty.
name

[Required] Gets the name of this CredentialProperty. The name of the credential property, should confirm with names of properties of this credential’s type. Example: For JMXCreds type, credential property name for weblogic user is ‘Username’.

Returns:The name of this CredentialProperty.
Return type:str
value

[Required] Gets the value of this CredentialProperty. The value of the credential property name. Example: For JMXCreds type, credential property value for ‘Username’ property is ‘weblogic’.

Returns:The value of this CredentialProperty.
Return type:str