ServiceInstanceProps
Properties for defining a ServiceInstance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-computenest-serviceinstance
Initializer
import com.aliyun.ros.cdk.computenest.ServiceInstanceProps;
ServiceInstanceProps.builder()
.service(IResolvable)
.service(ServiceProperty)
// .commodity(IResolvable)
// .commodity(CommodityProperty)
// .contactGroup(java.lang.String)
// .contactGroup(IResolvable)
// .enableInstanceOps(java.lang.Boolean)
// .enableInstanceOps(IResolvable)
// .enableUserPrometheus(java.lang.Boolean)
// .enableUserPrometheus(IResolvable)
// .marketInstanceId(java.lang.String)
// .marketInstanceId(IResolvable)
// .name(java.lang.String)
// .name(IResolvable)
// .operationName(java.lang.String)
// .operationName(IResolvable)
// .parameters(IResolvable)
// .parameters(java.util.Map<java.lang.String, java.lang.Object>)
// .predefinedParameterName(java.lang.String)
// .predefinedParameterName(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .specificationCode(java.lang.String)
// .specificationCode(IResolvable)
// .tags(java.util.List<TagsProperty>)
// .templateName(java.lang.String)
// .templateName(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
service |
com.aliyun.ros.cdk.core.IResolvable OR ServiceProperty |
Property service: Service details. |
commodity |
com.aliyun.ros.cdk.core.IResolvable OR CommodityProperty |
Property commodity: Cloud market commodity purchase parameters. |
contactGroup |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property contactGroup: Alarm Contact Group. |
enableInstanceOps |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property enableInstanceOps: Whether the service instance has the O & M function. |
enableUserPrometheus |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property enableUserPrometheus: Whether Prometheus monitoring is enabled. |
marketInstanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property marketInstanceId: The ID of the cloud marketplace instance. |
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: The name of the service instance. |
operationName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property operationName: Change operation name. |
parameters |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property parameters: The parameters entered by the deployment service instance. |
predefinedParameterName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property predefinedParameterName: Package name. |
resourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: The ID of the resource group. |
specificationCode |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property specificationCode: Commodity specification Code. |
tags |
java.util.List<TagsProperty> |
Property tags: Tags of service instance. |
templateName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property templateName: Template name. |
service
Required
public java.lang.Object getService();
- Type: com.aliyun.ros.cdk.core.IResolvable OR ServiceProperty
Property service: Service details.
commodity
Optional
public java.lang.Object getCommodity();
- Type: com.aliyun.ros.cdk.core.IResolvable OR CommodityProperty
Property commodity: Cloud market commodity purchase parameters.
contactGroup
Optional
public java.lang.Object getContactGroup();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property contactGroup: Alarm Contact Group.
enableInstanceOps
Optional
public java.lang.Object getEnableInstanceOps();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enableInstanceOps: Whether the service instance has the O & M function.
Possible values:
- true: The service instance has a generation O & M function.
- false: The service instance does not have the O & M function.
enableUserPrometheus
Optional
public java.lang.Object getEnableUserPrometheus();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enableUserPrometheus: Whether Prometheus monitoring is enabled.
Possible values:
- true: enabled.
- false: not enabled.
marketInstanceId
Optional
public java.lang.Object getMarketInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property marketInstanceId: The ID of the cloud marketplace instance.
name
Optional
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of the service instance.
operationName
Optional
public java.lang.Object getOperationName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property operationName: Change operation name.
parameters
Optional
public java.lang.Object getParameters();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property parameters: The parameters entered by the deployment service instance.
predefinedParameterName
Optional
public java.lang.Object getPredefinedParameterName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property predefinedParameterName: Package name.
resourceGroupId
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group.
specificationCode
Optional
public java.lang.Object getSpecificationCode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property specificationCode: Commodity specification Code.
tags
Optional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List<TagsProperty>
Property tags: Tags of service instance.
templateName
Optional
public java.lang.Object getTemplateName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property templateName: Template name.