Skip to content

ManagedPrometheusProps

Properties for defining a ManagedPrometheus.

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

Initializer

import ros_cdk_arms
ros_cdk_arms.ManagedPrometheusProps(
  cluster_type: typing.Union[str, IResolvable],
  security_group_id: typing.Union[str, IResolvable],
  vpc_id: typing.Union[str, IResolvable],
  v_switch_id: typing.Union[str, IResolvable],
  cluster_id: typing.Union[str, IResolvable] = None,
  cluster_name: typing.Union[str, IResolvable] = None,
  grafana_instance_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
cluster_type typing.Union[str, ros_cdk_core.IResolvable] Property clusterType: The type of the cluster.
security_group_id typing.Union[str, ros_cdk_core.IResolvable] Property securityGroupId: The security group ID of the cluster.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: The vpc ID of the cluster.
v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Property vSwitchId: The vswith ID of the cluster.
cluster_id typing.Union[str, ros_cdk_core.IResolvable] Property clusterId: The ID of the Kubernetes cluster of Alibaba Cloud Container Service for Kubernetes.
cluster_name typing.Union[str, ros_cdk_core.IResolvable] Property clusterName: The name of the cluster.
grafana_instance_id typing.Union[str, ros_cdk_core.IResolvable] Property grafanaInstanceId: The ID of the managed Grafana workspace bound to the cluster.

cluster_typeRequired

cluster_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property clusterType: The type of the cluster.

Currently, only ask, ecs and one clusters are supported. Default is ecs.


security_group_idRequired

security_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property securityGroupId: The security group ID of the cluster.


vpc_idRequired

vpc_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vpcId: The vpc ID of the cluster.


v_switch_idRequired

v_switch_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vSwitchId: The vswith ID of the cluster.


cluster_idOptional

cluster_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property clusterId: The ID of the Kubernetes cluster of Alibaba Cloud Container Service for Kubernetes.


cluster_nameOptional

cluster_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property clusterName: The name of the cluster.

Required when the ClusterType is ecs.


grafana_instance_idOptional

grafana_instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property grafanaInstanceId: The ID of the managed Grafana workspace bound to the cluster.

When empty or "free", binds to the shared version of Grafana.