public class CreateEnvironmentRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CreateEnvironmentRequest.CreateEnvironmentRequestTags |
| 限定符和类型 | 字段和说明 |
|---|---|
String |
aliyunLang
The language.
|
String |
bindResourceId
The ID of the resource bound to the environment, such as the container ID or VPC ID.
|
String |
environmentName
The name of the environment.
|
String |
environmentSubType
The subtype of the environment.
|
String |
environmentType
The type of the environment.
|
String |
feePackage
The payable resource plan.
|
String |
grafanaWorkspaceId
环境绑定的grafana工作区id。
|
Boolean |
initEnvironment |
String |
managedType
Specifies whether agents or exporters are managed.
|
String |
prometheusInstanceId
The ID of the Prometheus instance.
|
String |
regionId
The region ID.
|
String |
resourceGroupId
The ID of the resource group.
|
List<CreateEnvironmentRequest.CreateEnvironmentRequestTags> |
tags
The tags of the instance.
|
| 构造器和说明 |
|---|
CreateEnvironmentRequest() |
@NameInMap(value="AliyunLang") public String aliyunLang
The language. Default value: zh.
Valid values:
en
:
English
.
zh
:
Chinese
.
zh
@NameInMap(value="BindResourceId") public String bindResourceId
The ID of the resource bound to the environment, such as the container ID or VPC ID. For a Cloud environment, specify the region ID.
This parameter is required.
example:c6e9dec475dca4a50a188411d8cbxxx
@NameInMap(value="EnvironmentName") public String environmentName
The name of the environment.
This parameter is required.
example:env1
@NameInMap(value="EnvironmentSubType") public String environmentSubType
The subtype of the environment. Valid values:
This parameter is required.
example:ECS, ACK, etc.
@NameInMap(value="EnvironmentType") public String environmentType
The type of the environment. Valid values:
This parameter is required.
example:CS
@NameInMap(value="FeePackage") public String feePackage
The payable resource plan. Valid values:
CS_Basic
@NameInMap(value="GrafanaWorkspaceId") public String grafanaWorkspaceId
环境绑定的grafana工作区id。传空时,表示使用默认的共享grafana。
if can be null:true
@NameInMap(value="InitEnvironment") public Boolean initEnvironment
@NameInMap(value="ManagedType") public String managedType
Specifies whether agents or exporters are managed. Valid values:
none
@NameInMap(value="PrometheusInstanceId") public String prometheusInstanceId
The ID of the Prometheus instance. If no Prometheus instance is created, call the InitEnvironment operation.
example:c6e9dec475dca4a50a188411d8cbxxx
@NameInMap(value="RegionId") public String regionId
The region ID.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group.
example:rg-acfmxyexli2****
if can be null:true
@NameInMap(value="Tags") public List<CreateEnvironmentRequest.CreateEnvironmentRequestTags> tags
The tags of the instance. You can specify this parameter to manage tags for the instance.
public static CreateEnvironmentRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateEnvironmentRequest setAliyunLang(String aliyunLang)
public String getAliyunLang()
public CreateEnvironmentRequest setBindResourceId(String bindResourceId)
public String getBindResourceId()
public CreateEnvironmentRequest setEnvironmentName(String environmentName)
public String getEnvironmentName()
public CreateEnvironmentRequest setEnvironmentSubType(String environmentSubType)
public String getEnvironmentSubType()
public CreateEnvironmentRequest setEnvironmentType(String environmentType)
public String getEnvironmentType()
public CreateEnvironmentRequest setFeePackage(String feePackage)
public String getFeePackage()
public CreateEnvironmentRequest setGrafanaWorkspaceId(String grafanaWorkspaceId)
public String getGrafanaWorkspaceId()
public CreateEnvironmentRequest setInitEnvironment(Boolean initEnvironment)
public Boolean getInitEnvironment()
public CreateEnvironmentRequest setManagedType(String managedType)
public String getManagedType()
public CreateEnvironmentRequest setPrometheusInstanceId(String prometheusInstanceId)
public String getPrometheusInstanceId()
public CreateEnvironmentRequest setRegionId(String regionId)
public String getRegionId()
public CreateEnvironmentRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateEnvironmentRequest setTags(List<CreateEnvironmentRequest.CreateEnvironmentRequestTags> tags)
public List<CreateEnvironmentRequest.CreateEnvironmentRequestTags> getTags()
Copyright © 2024. All rights reserved.