public class InstallManagedPrometheusRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clusterId
The ID of the ACK cluster.
|
String |
clusterName
The name of the ECS instance.
|
String |
clusterType
The cluster type.
|
String |
grafanaInstanceId
The ID of the Grafana workspace used by the ASK cluster or ECS instance.
|
String |
kubeConfig
This parameter is not supported.
|
String |
regionId
The region ID.
|
String |
resourceGroupId
The ID of the resource group to which the Prometheus instance belongs.
|
String |
securityGroupId
The security group of the ASK cluster or ECS instance.
|
String |
vpcId
The virtual private cloud (VPC) where the ASK cluster or ECS instance resides.
|
String |
vSwitchId
The vSwitch used by the ASK cluster or ECS instance.
|
| 构造器和说明 |
|---|
InstallManagedPrometheusRequest() |
@NameInMap(value="ClusterId") public String clusterId
The ID of the ACK cluster.
example:cc7a37ee31aea4ed1a059eff8034b****
@NameInMap(value="ClusterName") public String clusterName
The name of the ECS instance. If you set the ClusterType parameter to ecs, you must configure this parameter.
example:prd-ecs
@NameInMap(value="ClusterType") public String clusterType
The cluster type.
Valid values:
ecs
one
ask
pro
This parameter is required.
example:ask
@NameInMap(value="GrafanaInstanceId") public String grafanaInstanceId
The ID of the Grafana workspace used by the ASK cluster or ECS instance. If you set the value to free or leave the parameter empty, a shared Grafana workspace is used.
example:grafana-bp1*****
@NameInMap(value="KubeConfig") public String kubeConfig
This parameter is not supported.
example:true
@NameInMap(value="RegionId") public String regionId
The region ID.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the Prometheus instance belongs.
example:rg-acfmxyexli2****
@NameInMap(value="SecurityGroupId") public String securityGroupId
The security group of the ASK cluster or ECS instance.
This parameter is required.
example:sg-bp1********
@NameInMap(value="VSwitchId") public String vSwitchId
The vSwitch used by the ASK cluster or ECS instance.
This parameter is required.
example:vsw-bp1*********
@NameInMap(value="VpcId") public String vpcId
The virtual private cloud (VPC) where the ASK cluster or ECS instance resides.
This parameter is required.
example:vpc-xxxxxx
public static InstallManagedPrometheusRequest build(Map<String,?> map) throws Exception
Exceptionpublic InstallManagedPrometheusRequest setClusterId(String clusterId)
public String getClusterId()
public InstallManagedPrometheusRequest setClusterName(String clusterName)
public String getClusterName()
public InstallManagedPrometheusRequest setClusterType(String clusterType)
public String getClusterType()
public InstallManagedPrometheusRequest setGrafanaInstanceId(String grafanaInstanceId)
public String getGrafanaInstanceId()
public InstallManagedPrometheusRequest setKubeConfig(String kubeConfig)
public String getKubeConfig()
public InstallManagedPrometheusRequest setRegionId(String regionId)
public String getRegionId()
public InstallManagedPrometheusRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public InstallManagedPrometheusRequest setSecurityGroupId(String securityGroupId)
public String getSecurityGroupId()
public InstallManagedPrometheusRequest setVSwitchId(String vSwitchId)
public String getVSwitchId()
public InstallManagedPrometheusRequest setVpcId(String vpcId)
public String getVpcId()
Copyright © 2024. All rights reserved.