AvailabilityMetricsDetails

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

Bases: object

Availability metrics details.

Methods

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

Attributes

collection_interval_in_seconds [Required] Gets the collection_interval_in_seconds of this AvailabilityMetricsDetails.
metrics [Required] Gets the metrics of this AvailabilityMetricsDetails.
__init__(**kwargs)

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

Parameters:
  • metrics (list[str]) – The value to assign to the metrics property of this AvailabilityMetricsDetails.
  • collection_interval_in_seconds (int) – The value to assign to the collection_interval_in_seconds property of this AvailabilityMetricsDetails.
collection_interval_in_seconds

[Required] Gets the collection_interval_in_seconds of this AvailabilityMetricsDetails. Availability metric collection internal in seconds.

Returns:The collection_interval_in_seconds of this AvailabilityMetricsDetails.
Return type:int
metrics

[Required] Gets the metrics of this AvailabilityMetricsDetails. List of metrics used for availability calculation for the resource.

Returns:The metrics of this AvailabilityMetricsDetails.
Return type:list[str]