Skip to content

RosInstanceProps

Properties for defining a RosInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-swas-instance

Initializer

import com.aliyun.ros.cdk.swas.RosInstanceProps;
RosInstanceProps.builder()
    .imageId(java.lang.String)
    .imageId(IResolvable)
    .period(java.lang.Number)
    .period(IResolvable)
    .planId(java.lang.String)
    .planId(IResolvable)
//  .autoRenew(java.lang.Boolean)
//  .autoRenew(IResolvable)
//  .autoRenewPeriod(java.lang.Number)
//  .autoRenewPeriod(IResolvable)
//  .dataDiskSize(java.lang.Number)
//  .dataDiskSize(IResolvable)
    .build();

Properties

Name Type Description
imageId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
planId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
autoRenew java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
autoRenewPeriod java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
dataDiskSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.

imageIdRequired

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

periodRequired

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

planIdRequired

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

autoRenewOptional

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

autoRenewPeriodOptional

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

dataDiskSizeOptional

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