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 cluster type.
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 that is associated with the cluster.

cluster_typeRequired

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

Property clusterType: The cluster type.

Valid values:

  • ecs: ECS
  • one: ACK One
  • ask: ASK
  • pro: Container Monitoring Pro

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 that is associated with the cluster.

If you set this parameter to free or leave this parameter empty, the cluster is associated with a shared Grafana workspace.