UpdateMonitoredResourceDetails¶
- class oci.stack_monitoring.models.UpdateMonitoredResourceDetails(**kwargs)¶
Bases:
objectThe information about updating a monitored resource.
Methods:
__init__(**kwargs)Initializes a new UpdateMonitoredResourceDetails object with values from keyword arguments.
Attributes:
Gets the additional_aliases of this UpdateMonitoredResourceDetails.
Gets the additional_credentials of this UpdateMonitoredResourceDetails.
Gets the aliases of this UpdateMonitoredResourceDetails.
Gets the credentials of this UpdateMonitoredResourceDetails.
Gets the database_connection_details of this UpdateMonitoredResourceDetails.
Gets the defined_tags of this UpdateMonitoredResourceDetails.
Gets the display_name of this UpdateMonitoredResourceDetails.
Gets the freeform_tags of this UpdateMonitoredResourceDetails.
Gets the host_name of this UpdateMonitoredResourceDetails.
Gets the properties of this UpdateMonitoredResourceDetails.
Gets the resource_time_zone of this UpdateMonitoredResourceDetails.
- __init__(**kwargs)¶
Initializes a new UpdateMonitoredResourceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this UpdateMonitoredResourceDetails.
host_name (str) – The value to assign to the host_name property of this UpdateMonitoredResourceDetails.
resource_time_zone (str) – The value to assign to the resource_time_zone property of this UpdateMonitoredResourceDetails.
properties (list[oci.stack_monitoring.models.MonitoredResourceProperty]) – The value to assign to the properties property of this UpdateMonitoredResourceDetails.
database_connection_details (oci.stack_monitoring.models.ConnectionDetails) – The value to assign to the database_connection_details property of this UpdateMonitoredResourceDetails.
credentials (oci.stack_monitoring.models.MonitoredResourceCredential) – The value to assign to the credentials property of this UpdateMonitoredResourceDetails.
aliases (oci.stack_monitoring.models.MonitoredResourceAliasCredential) – The value to assign to the aliases property of this UpdateMonitoredResourceDetails.
additional_credentials (list[oci.stack_monitoring.models.MonitoredResourceCredential]) – The value to assign to the additional_credentials property of this UpdateMonitoredResourceDetails.
additional_aliases (list[oci.stack_monitoring.models.MonitoredResourceAliasCredential]) – The value to assign to the additional_aliases property of this UpdateMonitoredResourceDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateMonitoredResourceDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateMonitoredResourceDetails.
- property additional_aliases¶
Gets the additional_aliases of this UpdateMonitoredResourceDetails. List of MonitoredResourceAliasCredentials. This property complements the existing “aliases” property by allowing user to specify more than one credential alias. If both “aliases” and “additionalAliases” are specified, union of the values is used as list of aliases applicable for this resource. If any duplicate found in the combined list of “alias” and “additionalAliases”, an error will be thrown.
- Returns
The additional_aliases of this UpdateMonitoredResourceDetails.
- Return type
list[oci.stack_monitoring.models.MonitoredResourceAliasCredential]
- property additional_credentials¶
Gets the additional_credentials of this UpdateMonitoredResourceDetails. List of MonitoredResourceCredentials. This property complements the existing “credentials” property by allowing user to specify more than one credential. If both “credential” and “additionalCredentials” are specified, union of the values is used as list of credentials applicable for this resource. If any duplicate found in the combined list of “credentials” and “additionalCredentials”, an error will be thrown.
- Returns
The additional_credentials of this UpdateMonitoredResourceDetails.
- Return type
list[oci.stack_monitoring.models.MonitoredResourceCredential]
- property aliases¶
Gets the aliases of this UpdateMonitoredResourceDetails.
- Returns
The aliases of this UpdateMonitoredResourceDetails.
- Return type
oci.stack_monitoring.models.MonitoredResourceAliasCredential
- property credentials¶
Gets the credentials of this UpdateMonitoredResourceDetails.
- Returns
The credentials of this UpdateMonitoredResourceDetails.
- Return type
- property database_connection_details¶
Gets the database_connection_details of this UpdateMonitoredResourceDetails.
- Returns
The database_connection_details of this UpdateMonitoredResourceDetails.
- Return type
- property defined_tags¶
Gets the defined_tags of this UpdateMonitoredResourceDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this UpdateMonitoredResourceDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this UpdateMonitoredResourceDetails. Monitored resource display name.
- Returns
The display_name of this UpdateMonitoredResourceDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateMonitoredResourceDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this UpdateMonitoredResourceDetails.
- Return type
dict(str, str)
- property host_name¶
Gets the host_name of this UpdateMonitoredResourceDetails. Host name of the monitored resource.
- Returns
The host_name of this UpdateMonitoredResourceDetails.
- Return type
str
- property properties¶
Gets the properties of this UpdateMonitoredResourceDetails. List of monitored resource properties.
- Returns
The properties of this UpdateMonitoredResourceDetails.
- Return type
- property resource_time_zone¶
Gets the resource_time_zone of this UpdateMonitoredResourceDetails. Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- Returns
The resource_time_zone of this UpdateMonitoredResourceDetails.
- Return type
str