Skip to content

PrometheusProps

Properties for defining a Prometheus.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkarms"
&alicloudroscdkarms.PrometheusProps {
    ClusterType: interface{},
    GrafanaInstanceId: interface{},
    PrometheusName: interface{},
    ClusterId: interface{},
    ResourceGroupId: interface{},
    SecurityGroupId: interface{},
    SubClustersJson: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkarms.RosPrometheus.TagsProperty,
    VpcId: interface{},
    VSwitchId: interface{},
}

Properties

Name Type Description
ClusterType interface{} Property clusterType: Instance type.
GrafanaInstanceId interface{} Property grafanaInstanceId: Grafana workspace ID.
PrometheusName interface{} Property prometheusName: The name of the resource.
ClusterId interface{} Property clusterId: The ID of the cluster.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group.
SecurityGroupId interface{} Property securityGroupId: The ID of the custom resource group.
SubClustersJson interface{} Property subClustersJson: The child instances of the Prometheus instance for GlobalView.
Tags *[]TagsProperty Property tags: Tags of prometheus.
VpcId interface{} Property vpcId: The ID of the virtual private cloud (VPC).
VSwitchId interface{} Property vSwitchId: The ID of the vSwitch.

ClusterTypeRequired

ClusterType interface{}
  • Type: interface{}

Property clusterType: Instance type.


GrafanaInstanceIdRequired

GrafanaInstanceId interface{}
  • Type: interface{}

Property grafanaInstanceId: Grafana workspace ID.


PrometheusNameRequired

PrometheusName interface{}
  • Type: interface{}

Property prometheusName: The name of the resource.


ClusterIdOptional

ClusterId interface{}
  • Type: interface{}

Property clusterId: The ID of the cluster.

This parameter is required if you set ClusterType to ManagedKubernetes.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group.


SecurityGroupIdOptional

SecurityGroupId interface{}
  • Type: interface{}

Property securityGroupId: The ID of the custom resource group.

You can specify this parameter to bind the instance to the resource group.


SubClustersJsonOptional

SubClustersJson interface{}
  • Type: interface{}

Property subClustersJson: The child instances of the Prometheus instance for GlobalView.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags of prometheus.


VpcIdOptional

VpcId interface{}
  • Type: interface{}

Property vpcId: The ID of the virtual private cloud (VPC).

This parameter is required if you set ClusterType to ecs or create a serverless Kubernetes (ASK) managed cluster.


VSwitchIdOptional

VSwitchId interface{}
  • Type: interface{}

Property vSwitchId: The ID of the vSwitch.

This parameter is required if you set ClusterType to ecs or create an ASK managed cluster.