CreateMetricExtensionDetails

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

Bases: object

The information about new metric extension resource. The combination of metric extension name and resource type should be unique in a compartment.

Methods

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

Attributes

collection_recurrences [Required] Gets the collection_recurrences of this CreateMetricExtensionDetails.
compartment_id [Required] Gets the compartment_id of this CreateMetricExtensionDetails.
description Gets the description of this CreateMetricExtensionDetails.
display_name [Required] Gets the display_name of this CreateMetricExtensionDetails.
metric_list [Required] Gets the metric_list of this CreateMetricExtensionDetails.
name [Required] Gets the name of this CreateMetricExtensionDetails.
query_properties [Required] Gets the query_properties of this CreateMetricExtensionDetails.
resource_type [Required] Gets the resource_type of this CreateMetricExtensionDetails.
__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this CreateMetricExtensionDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateMetricExtensionDetails.
  • resource_type (str) – The value to assign to the resource_type property of this CreateMetricExtensionDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateMetricExtensionDetails.
  • description (str) – The value to assign to the description property of this CreateMetricExtensionDetails.
  • collection_recurrences (str) – The value to assign to the collection_recurrences property of this CreateMetricExtensionDetails.
  • metric_list (list[oci.stack_monitoring.models.Metric]) – The value to assign to the metric_list property of this CreateMetricExtensionDetails.
  • query_properties (oci.stack_monitoring.models.MetricExtensionQueryProperties) – The value to assign to the query_properties property of this CreateMetricExtensionDetails.
collection_recurrences

[Required] Gets the collection_recurrences of this CreateMetricExtensionDetails. Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = “FREQ”;INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are “MINUTELY”,”HOURLY”,”DAILY” to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1

Returns:The collection_recurrences of this CreateMetricExtensionDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateMetricExtensionDetails. Compartment Identifier OCID

Returns:The compartment_id of this CreateMetricExtensionDetails.
Return type:str
description

Gets the description of this CreateMetricExtensionDetails. Description of the metric extension.

Returns:The description of this CreateMetricExtensionDetails.
Return type:str
display_name

[Required] Gets the display_name of this CreateMetricExtensionDetails. Metric Extension display name.

Returns:The display_name of this CreateMetricExtensionDetails.
Return type:str
metric_list

[Required] Gets the metric_list of this CreateMetricExtensionDetails. List of metrics which are part of this metric extension

Returns:The metric_list of this CreateMetricExtensionDetails.
Return type:list[oci.stack_monitoring.models.Metric]
name

[Required] Gets the name of this CreateMetricExtensionDetails. Metric Extension Resource name.

Returns:The name of this CreateMetricExtensionDetails.
Return type:str
query_properties

[Required] Gets the query_properties of this CreateMetricExtensionDetails.

Returns:The query_properties of this CreateMetricExtensionDetails.
Return type:oci.stack_monitoring.models.MetricExtensionQueryProperties
resource_type

[Required] Gets the resource_type of this CreateMetricExtensionDetails. Resource type to which Metric Extension applies

Returns:The resource_type of this CreateMetricExtensionDetails.
Return type:str