public class OpenVClusterRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clusterType
The type of the cluster.
|
Integer |
length
The length of the cluster ID.
|
String |
product
The name of the cloud service.
|
Boolean |
recreateSwitch
Specifies whether to create or query a virtual cluster.
|
String |
regionId
The region ID.
|
| 构造器和说明 |
|---|
OpenVClusterRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static OpenVClusterRequest |
build(Map<String,?> map) |
String |
getClusterType() |
Integer |
getLength() |
String |
getProduct() |
Boolean |
getRecreateSwitch() |
String |
getRegionId() |
OpenVClusterRequest |
setClusterType(String clusterType) |
OpenVClusterRequest |
setLength(Integer length) |
OpenVClusterRequest |
setProduct(String product) |
OpenVClusterRequest |
setRecreateSwitch(Boolean recreateSwitch) |
OpenVClusterRequest |
setRegionId(String regionId) |
@NameInMap(value="ClusterType") public String clusterType
The type of the cluster. For cloud services, set this parameter to cloud-product-prometheus.
This parameter is required.
example:cloud-product-prometheus
@NameInMap(value="Length") public Integer length
The length of the cluster ID. Default value: 10.
example:10
@NameInMap(value="Product") public String product
The name of the cloud service. This parameter is required if you set ClusterType to cloud-product-prometheus. Valid values: influxdb, mongodb, and DLA. You cannot specify multiple service names.
influxdb
@NameInMap(value="RecreateSwitch") public Boolean recreateSwitch
Specifies whether to create or query a virtual cluster. This parameter provides backward compatibility.
example:false
@NameInMap(value="RegionId") public String regionId
The region ID.
This parameter is required.
example:cn-hangzhou
public static OpenVClusterRequest build(Map<String,?> map) throws Exception
Exceptionpublic OpenVClusterRequest setClusterType(String clusterType)
public String getClusterType()
public OpenVClusterRequest setLength(Integer length)
public Integer getLength()
public OpenVClusterRequest setProduct(String product)
public String getProduct()
public OpenVClusterRequest setRecreateSwitch(Boolean recreateSwitch)
public Boolean getRecreateSwitch()
public OpenVClusterRequest setRegionId(String regionId)
public String getRegionId()
Copyright © 2024. All rights reserved.