MonitoredResourceDetails¶
- class oci.stack_monitoring.models.MonitoredResourceDetails(**kwargs)¶
Bases:
objectDetails of the Resource that are part of the Maintenance Window.
Methods:
__init__(**kwargs)Initializes a new MonitoredResourceDetails object with values from keyword arguments.
Attributes:
[Required] Gets the name of this MonitoredResourceDetails.
Gets the number_of_members of this MonitoredResourceDetails.
[Required] Gets the resource_id of this MonitoredResourceDetails.
[Required] Gets the type of this MonitoredResourceDetails.
- __init__(**kwargs)¶
Initializes a new MonitoredResourceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
resource_id (str) – The value to assign to the resource_id property of this MonitoredResourceDetails.
name (str) – The value to assign to the name property of this MonitoredResourceDetails.
type (str) – The value to assign to the type property of this MonitoredResourceDetails.
number_of_members (int) – The value to assign to the number_of_members property of this MonitoredResourceDetails.
- property name¶
[Required] Gets the name of this MonitoredResourceDetails. Name of the monitored resource
- Returns
The name of this MonitoredResourceDetails.
- Return type
str
- property number_of_members¶
Gets the number_of_members of this MonitoredResourceDetails. Number of members of the resource
- Returns
The number_of_members of this MonitoredResourceDetails.
- Return type
int
- property resource_id¶
[Required] Gets the resource_id of this MonitoredResourceDetails. The OCID of monitored resource part of the Maintenance window.
- Returns
The resource_id of this MonitoredResourceDetails.
- Return type
str
- property type¶
[Required] Gets the type of this MonitoredResourceDetails. Type of the monitored resource
- Returns
The type of this MonitoredResourceDetails.
- Return type
str