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. |
ClusterType
Required
ClusterType interface{}
- Type: interface{}
Property clusterType: Instance type.
GrafanaInstanceId
Required
GrafanaInstanceId interface{}
- Type: interface{}
Property grafanaInstanceId: Grafana workspace ID.
PrometheusName
Required
PrometheusName interface{}
- Type: interface{}
Property prometheusName: The name of the resource.
ClusterId
Optional
ClusterId interface{}
- Type: interface{}
Property clusterId: The ID of the cluster.
This parameter is required if you set ClusterType to ManagedKubernetes.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group.
SecurityGroupId
Optional
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.
SubClustersJson
Optional
SubClustersJson interface{}
- Type: interface{}
Property subClustersJson: The child instances of the Prometheus instance for GlobalView.
Tags
Optional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags of prometheus.
VpcId
Optional
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.
VSwitchId
Optional
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.