MonitoringSourceAllMetrics¶
- class oci.sch.models.MonitoringSourceAllMetrics(**kwargs)¶
Bases:
MonitoringSourceMetricDetailsDiscriminator for metrics in the compartment-specific list.
Attributes:
A constant which can be used with the kind property of a MonitoringSourceMetricDetails.
[Required] Gets the kind of this MonitoringSourceMetricDetails.
Methods:
__init__(**kwargs)Initializes a new MonitoringSourceAllMetrics object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- KIND_ALL = 'all'¶
A constant which can be used with the kind property of a MonitoringSourceMetricDetails. This constant has a value of “all”
- __init__(**kwargs)¶
Initializes a new MonitoringSourceAllMetrics object with values from keyword arguments. The default value of the
kindattribute of this class isalland it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
kind (str) – The value to assign to the kind property of this MonitoringSourceAllMetrics. Allowed values for this property are: “all”
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property kind¶
[Required] Gets the kind of this MonitoringSourceMetricDetails. The type discriminator.
Allowed values for this property are: “all”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The kind of this MonitoringSourceMetricDetails.
- Return type
str