Skip to content

PrometheusProps

Properties for defining a Prometheus.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Arms;
new PrometheusProps {
    object ClusterType,
    object GrafanaInstanceId,
    object PrometheusName,
    object ClusterId = null,
    object ResourceGroupId = null,
    object SecurityGroupId = null,
    object SubClustersJson = null,
    TagsProperty[] Tags = null,
    object VpcId = null,
    object VSwitchId = null
};

Properties

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

ClusterTypeRequired

public object ClusterType { get; set; }
  • Type: object

Property clusterType: Instance type.


GrafanaInstanceIdRequired

public object GrafanaInstanceId { get; set; }
  • Type: object

Property grafanaInstanceId: Grafana workspace ID.


PrometheusNameRequired

public object PrometheusName { get; set; }
  • Type: object

Property prometheusName: The name of the resource.


ClusterIdOptional

public object ClusterId { get; set; }
  • Type: object

Property clusterId: The ID of the cluster.

This parameter is required if you set ClusterType to ManagedKubernetes.


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: The ID of the resource group.


SecurityGroupIdOptional

public object SecurityGroupId { get; set; }
  • Type: object

Property securityGroupId: The ID of the custom resource group.

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


SubClustersJsonOptional

public object SubClustersJson { get; set; }
  • Type: object

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


TagsOptional

public TagsProperty[] Tags { get; set; }

Property tags: Tags of prometheus.


VpcIdOptional

public object VpcId { get; set; }
  • Type: object

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

public object VSwitchId { get; set; }
  • Type: object

Property vSwitchId: The ID of the vSwitch.

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