Skip to content

PrometheusProps

Properties for defining a Prometheus.

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

Initializer

import com.aliyun.ros.cdk.arms.PrometheusProps;
PrometheusProps.builder()
    .clusterType(java.lang.String)
    .clusterType(IResolvable)
    .grafanaInstanceId(java.lang.String)
    .grafanaInstanceId(IResolvable)
    .prometheusName(java.lang.String)
    .prometheusName(IResolvable)
//  .clusterId(java.lang.String)
//  .clusterId(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .securityGroupId(java.lang.String)
//  .securityGroupId(IResolvable)
//  .subClustersJson(java.util.List<java.lang.Object>)
//  .subClustersJson(IResolvable)
//  .tags(java.util.List<TagsProperty>)
//  .vpcId(java.lang.String)
//  .vpcId(IResolvable)
//  .vSwitchId(java.lang.String)
//  .vSwitchId(IResolvable)
    .build();

Properties

Name Type Description
clusterType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterType: Instance type.
grafanaInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property grafanaInstanceId: Grafana workspace ID.
prometheusName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property prometheusName: The name of the resource.
clusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterId: The ID of the cluster.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.
securityGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property securityGroupId: The ID of the custom resource group.
subClustersJson java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property subClustersJson: The child instances of the Prometheus instance for GlobalView.
tags java.util.List<TagsProperty> Property tags: Tags of prometheus.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The ID of the virtual private cloud (VPC).
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchId: The ID of the vSwitch.

clusterTypeRequired

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

Property clusterType: Instance type.


grafanaInstanceIdRequired

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

Property grafanaInstanceId: Grafana workspace ID.


prometheusNameRequired

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

Property prometheusName: The name of the resource.


clusterIdOptional

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

Property clusterId: The ID of the cluster.

This parameter is required if you set ClusterType to ManagedKubernetes.


resourceGroupIdOptional

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

Property resourceGroupId: The ID of the resource group.


securityGroupIdOptional

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


subClustersJsonOptional

public java.lang.Object getSubClustersJson();
  • Type: java.util.List OR com.aliyun.ros.cdk.core.IResolvable

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


tagsOptional

public java.util.List<TagsProperty> getTags();

Property tags: Tags of prometheus.


vpcIdOptional

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


vSwitchIdOptional

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