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)
//  .dryRun(java.lang.Boolean)
//  .dryRun(IResolvable)
//  .enableInstanceOps(java.lang.Boolean)
//  .enableInstanceOps(IResolvable)
//  .enableUserPrometheus(java.lang.Boolean)
//  .enableUserPrometheus(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)
//  .resourceAutoPay(java.lang.Boolean)
//  .resourceAutoPay(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .serviceInstanceName(java.lang.String)
//  .serviceInstanceName(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: The purchase order information of the cloud market does not need to be transmitted if the service is not on the cloud market or charged by volume.
contactGroup java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property contactGroup: Alarm Contact Group.
dryRun java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property dryRun: Whether to perform PreCheck on the creation request, including permissions and instance status verification.
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.
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.
resourceAutoPay java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property resourceAutoPay: Whether the resource is automatically deducted from the balance.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.
serviceInstanceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property serviceInstanceName: The name of the service instance.
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: The purchase order information of the cloud market does not need to be transmitted if the service is not on the cloud market or charged by volume.


contactGroupOptional

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

Property contactGroup: Alarm Contact Group.


dryRunOptional

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

Property dryRun: Whether to perform PreCheck on the creation request, including permissions and instance status verification.

Possible values:

  • true: The request is sent without creating a service instance.
  • false: Sends the request and creates a service instance after the check is passed.

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.

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.


resourceAutoPayOptional

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

Property resourceAutoPay: Whether the resource is automatically deducted from the balance.

Value:

  • true: automatic payment.
  • false: Do not pay automatically.

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.


serviceInstanceNameOptional

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

Property serviceInstanceName: The name of the service instance.


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.