Skip to content

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.

serviceRequired

public java.lang.Object getService();

Property service: Service details.


commodityOptional

public java.lang.Object getCommodity();

Property commodity: Cloud market commodity purchase parameters.


contactGroupOptional

public java.lang.Object getContactGroup();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property contactGroup: Alarm Contact Group.


enableInstanceOpsOptional

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.

enableUserPrometheusOptional

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.

marketInstanceIdOptional

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.


nameOptional

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: The name of the service instance.


operationNameOptional

public java.lang.Object getOperationName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property operationName: Change operation name.


parametersOptional

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.


predefinedParameterNameOptional

public java.lang.Object getPredefinedParameterName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property predefinedParameterName: Package name.


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group.


specificationCodeOptional

public java.lang.Object getSpecificationCode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property specificationCode: Commodity specification Code.


tagsOptional

public java.util.List<TagsProperty> getTags();

Property tags: Tags of service instance.


templateNameOptional

public java.lang.Object getTemplateName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property templateName: Template name.