Skip to content

PrometheusProps

Properties for defining a Prometheus.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-arms-prometheus

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkarms/datasource"
&datasource.PrometheusProps {
    ClusterId: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
ClusterId interface{} Property clusterId: The ID of the Prometheus instance.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

ClusterIdRequired

ClusterId interface{}
  • Type: interface{}

Property clusterId: The ID of the Prometheus instance.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.