PrometheusProps
Properties for defining a Prometheus.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-arms-prometheus
Initializer
import ros_cdk_arms
ros_cdk_arms.PrometheusProps(
  cluster_type: typing.Union[str, IResolvable],
  grafana_instance_id: typing.Union[str, IResolvable],
  prometheus_name: typing.Union[str, IResolvable],
  cluster_id: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  security_group_id: typing.Union[str, IResolvable] = None,
  sub_clusters_json: typing.Union[typing.List[typing.Any], IResolvable] = None,
  tags: typing.List[TagsProperty] = None,
  vpc_id: typing.Union[str, IResolvable] = None,
  v_switch_id: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description | 
|---|---|---|
cluster_type | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property clusterType: Instance type. | 
grafana_instance_id | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property grafanaInstanceId: Grafana workspace ID. | 
prometheus_name | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property prometheusName: The name of the resource. | 
cluster_id | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property clusterId: The ID of the cluster. | 
resource_group_id | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property resourceGroupId: The ID of the resource group. | 
security_group_id | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property securityGroupId: The ID of the custom resource group. | 
sub_clusters_json | 
typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] | 
Property subClustersJson: The child instances of the Prometheus instance for GlobalView. | 
tags | 
typing.List[TagsProperty] | 
Property tags: Tags of prometheus. | 
vpc_id | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property vpcId: The ID of the virtual private cloud (VPC). | 
v_switch_id | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property vSwitchId: The ID of the vSwitch. | 
cluster_typeRequired 
cluster_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property clusterType: Instance type.
grafana_instance_idRequired 
grafana_instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property grafanaInstanceId: Grafana workspace ID.
prometheus_nameRequired 
prometheus_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property prometheusName: The name of the resource.
cluster_idOptional 
cluster_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property clusterId: The ID of the cluster.
This parameter is required if you set ClusterType to ManagedKubernetes.
resource_group_idOptional 
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property resourceGroupId: The ID of the resource group.
security_group_idOptional 
security_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property securityGroupId: The ID of the custom resource group.
You can specify this parameter to bind the instance to the resource group.
sub_clusters_jsonOptional 
sub_clusters_json: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]
 
Property subClustersJson: The child instances of the Prometheus instance for GlobalView.
tagsOptional 
tags: typing.List[TagsProperty]
- Type: typing.List[TagsProperty]
 
Property tags: Tags of prometheus.
vpc_idOptional 
vpc_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
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.
v_switch_idOptional 
v_switch_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property vSwitchId: The ID of the vSwitch.
This parameter is required if you set ClusterType to ecs or create an ASK managed cluster.