com.aliyun.ros20190910.models.GetServiceProvisionsRequest Maven / Gradle / Ivy
Show all versions of ros20190910 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ros20190910.models;
import com.aliyun.tea.*;
public class GetServiceProvisionsRequest extends TeaModel {
/**
* The parameters.
*/
@NameInMap("Parameters")
public java.util.List parameters;
/**
* The region ID. You can call the DescribeRegions operation to query the most recent region list.
* This parameter is required.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
/**
* The services.
*/
@NameInMap("Services")
public java.util.List services;
@NameInMap("TemplateBody")
public String templateBody;
/**
* The template ID. This parameter applies to shared and private templates.
* You must and can specify only one of the following parameters: TemplateBody, TemplateURL, TemplateId, and Services.
*
* example:
* 5ecd1e10-b0e9-4389-a565-e4c15efc****
*/
@NameInMap("TemplateId")
public String templateId;
/**
* The URL of the file that contains the template body. The URL must point to a template that is located on an HTTP or HTTPS web server or in an Object Storage Service (OSS) bucket, such as oss://ros/template/demo or oss://ros/template/demo?RegionId=cn-hangzhou. The template body must be 1 to 524,288 bytes in length. If you do not specify the region ID of the OSS bucket, the value of RegionId is used.
* You must and can specify only one of the following parameters: TemplateBody, TemplateURL, TemplateId, and Services.
*
* example:
* oss://ros-template/demo
*/
@NameInMap("TemplateURL")
public String templateURL;
/**
* The version of the template. If you do not specify this parameter, the latest version is used.
* This parameter takes effect only when TemplateId is specified.
*
* example:
* v1
*/
@NameInMap("TemplateVersion")
public String templateVersion;
public static GetServiceProvisionsRequest build(java.util.Map map) throws Exception {
GetServiceProvisionsRequest self = new GetServiceProvisionsRequest();
return TeaModel.build(map, self);
}
public GetServiceProvisionsRequest setParameters(java.util.List parameters) {
this.parameters = parameters;
return this;
}
public java.util.List getParameters() {
return this.parameters;
}
public GetServiceProvisionsRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public GetServiceProvisionsRequest setServices(java.util.List services) {
this.services = services;
return this;
}
public java.util.List getServices() {
return this.services;
}
public GetServiceProvisionsRequest setTemplateBody(String templateBody) {
this.templateBody = templateBody;
return this;
}
public String getTemplateBody() {
return this.templateBody;
}
public GetServiceProvisionsRequest setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
public GetServiceProvisionsRequest setTemplateURL(String templateURL) {
this.templateURL = templateURL;
return this;
}
public String getTemplateURL() {
return this.templateURL;
}
public GetServiceProvisionsRequest setTemplateVersion(String templateVersion) {
this.templateVersion = templateVersion;
return this;
}
public String getTemplateVersion() {
return this.templateVersion;
}
public static class GetServiceProvisionsRequestParameters extends TeaModel {
/**
* The name of the parameter. If you do not specify the name and value of a parameter, Resource Orchestration Service (ROS) uses the default name and value that are specified in the template.
*
* The Parameters parameter is optional. If you specify Parameters, you must specify ParameterKey.
*
* This parameter is required.
*
* example:
* Amount
*/
@NameInMap("ParameterKey")
public String parameterKey;
/**
* The value of the parameter.
*
* The Parameters parameter is optional. If you specify Parameters, you must specify ParameterValue.
*
* This parameter is required.
*
* example:
* 12
*/
@NameInMap("ParameterValue")
public String parameterValue;
public static GetServiceProvisionsRequestParameters build(java.util.Map map) throws Exception {
GetServiceProvisionsRequestParameters self = new GetServiceProvisionsRequestParameters();
return TeaModel.build(map, self);
}
public GetServiceProvisionsRequestParameters setParameterKey(String parameterKey) {
this.parameterKey = parameterKey;
return this;
}
public String getParameterKey() {
return this.parameterKey;
}
public GetServiceProvisionsRequestParameters setParameterValue(String parameterValue) {
this.parameterValue = parameterValue;
return this;
}
public String getParameterValue() {
return this.parameterValue;
}
}
public static class GetServiceProvisionsRequestServices extends TeaModel {
/**
* The name of the service or feature. Valid values:
*
* - AHAS: Application High Availability Service
* - ARMS: Application Real-Time Monitoring Service (ARMS)
* - ApiGateway: API Gateway
* - BatchCompute: Batch Compute
* - BrainIndustrial: Industrial Brain
* - CloudStorageGateway: Cloud Storage Gateway (CSG)
* - CMS: CloudMonitor
* - CR: Container Registry
* - CS: Container Service for Kubernetes (ACK)
* - DCDN: Dynamic Content Delivery Network (DCDN)
* - DataHub: DataHub
* - DataWorks: DataWorks
* - EDAS: Enterprise Distributed Application Service (EDAS)
* - EHPC: E-HPC
* - EMAS: Enterprise Mobile Application Studio (EMAS)
* - FC: Function Compute
* - FNF: CloudFlow (SWF)
* - MaxCompute: MaxCompute
* - MNS: Message Service (MNS)
* - HBR: Cloud Backup
* - IMM: Intelligent Media Management (IMM)
* - IOT: IoT Platform
* - KMS: Key Management Service (KMS)
* - NAS: Apsara File Storage NAS (NAS)
* - NLP: Natural Language Processing (NLP)
* - OSS: Object Storage Service (OSS)
* - OTS: Tablestore
* - PrivateLink: PrivateLink
* - PrivateZone: Alibaba Cloud DNS PrivateZone
* - RocketMQ: ApsaraMQ for RocketMQ
* - SAE: Serverless App Engine (SAE)
* - SLS: Simple Log Service (SLS)
* - TrafficMirror: traffic mirroring
* - VS: Video Surveillance System
* - Xtrace: Managed Service for OpenTelemetry
*
* This parameter is required.
*
* example:
* EHPC
*/
@NameInMap("ServiceName")
public String serviceName;
public static GetServiceProvisionsRequestServices build(java.util.Map map) throws Exception {
GetServiceProvisionsRequestServices self = new GetServiceProvisionsRequestServices();
return TeaModel.build(map, self);
}
public GetServiceProvisionsRequestServices setServiceName(String serviceName) {
this.serviceName = serviceName;
return this;
}
public String getServiceName() {
return this.serviceName;
}
}
}