MonitoredResourceAliasSourceCredential

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

Bases: object

Monitored Resource Alias Reference Source Credential.

Methods

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

Attributes

name [Required] Gets the name of this MonitoredResourceAliasSourceCredential.
service [Required] Gets the service of this MonitoredResourceAliasSourceCredential.
source [Required] Gets the source of this MonitoredResourceAliasSourceCredential.
__init__(**kwargs)

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

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

[Required] Gets the name of this MonitoredResourceAliasSourceCredential. The name of the pre-existing source credential which alias cred should point to. This should refer to the pre-existing source attribute which is bound to credential name.

Returns:The name of this MonitoredResourceAliasSourceCredential.
Return type:str
service

[Required] Gets the service of this MonitoredResourceAliasSourceCredential. The name of the service owning the credential. Example: stack-monitoring or dbmgmt

Returns:The service of this MonitoredResourceAliasSourceCredential.
Return type:str
source

[Required] Gets the source of this MonitoredResourceAliasSourceCredential. The source type and source name combination,delimited with (.) separator. This refers to the pre-existing source which alias cred should point to. Ex. {source type}.{source name} and source type max char limit is 63.

Returns:The source of this MonitoredResourceAliasSourceCredential.
Return type:str