Skip to content

ManagedPrometheusProps

Properties for defining a ManagedPrometheus.

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

Initializer

import com.aliyun.ros.cdk.arms.ManagedPrometheusProps;
ManagedPrometheusProps.builder()
    .clusterType(java.lang.String)
    .clusterType(IResolvable)
    .securityGroupId(java.lang.String)
    .securityGroupId(IResolvable)
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
    .vSwitchId(java.lang.String)
    .vSwitchId(IResolvable)
//  .clusterId(java.lang.String)
//  .clusterId(IResolvable)
//  .clusterName(java.lang.String)
//  .clusterName(IResolvable)
//  .grafanaInstanceId(java.lang.String)
//  .grafanaInstanceId(IResolvable)
    .build();

Properties

Name Type Description
clusterType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterType: The cluster type.
securityGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property securityGroupId: The security group ID of the cluster.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The vpc ID of the cluster.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchId: The vswith ID of the cluster.
clusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterId: The ID of the Kubernetes cluster of Alibaba Cloud Container Service for Kubernetes.
clusterName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterName: The name of the cluster.
grafanaInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property grafanaInstanceId: The ID of the managed Grafana workspace that is associated with the cluster.

clusterTypeRequired

public java.lang.Object getClusterType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clusterType: The cluster type.

Valid values:

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

securityGroupIdRequired

public java.lang.Object getSecurityGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property securityGroupId: The security group ID of the cluster.


vpcIdRequired

public java.lang.Object getVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: The vpc ID of the cluster.


vSwitchIdRequired

public java.lang.Object getVSwitchId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchId: The vswith ID of the cluster.


clusterIdOptional

public java.lang.Object getClusterId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


clusterNameOptional

public java.lang.Object getClusterName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clusterName: The name of the cluster.

Required when the ClusterType is ecs.


grafanaInstanceIdOptional

public java.lang.Object getGrafanaInstanceId();
  • Type: java.lang.String OR com.aliyun.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.