Skip to content

InstancesProps

Properties for defining a Instances.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ens-instances

Initializer

import com.aliyun.ros.cdk.ens.datasource.InstancesProps;
InstancesProps.builder()
//  .ensRegionIds(java.util.List<java.lang.Object>)
//  .ensRegionIds(IResolvable)
//  .ensServiceId(java.lang.String)
//  .ensServiceId(IResolvable)
//  .imageId(java.lang.String)
//  .imageId(IResolvable)
//  .instanceIds(java.util.List<java.lang.Object>)
//  .instanceIds(IResolvable)
//  .instanceName(java.lang.String)
//  .instanceName(IResolvable)
//  .instanceResourceType(java.lang.String)
//  .instanceResourceType(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .status(java.lang.String)
//  .status(IResolvable)
    .build();

Properties

Name Type Description
ensRegionIds java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property ensRegionIds: The list of ENS region IDs.
ensServiceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ensServiceId: The ID of ENS service.
imageId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property imageId: The image ID of instance.
instanceIds java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property instanceIds: The list of instance IDs.
instanceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceName: The name of instance.
instanceResourceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceResourceType: The resource type of instance.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
status java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property status: The status of instance.

ensRegionIdsOptional

public java.lang.Object getEnsRegionIds();
  • Type: java.util.List OR com.aliyun.ros.cdk.core.IResolvable

Property ensRegionIds: The list of ENS region IDs.


ensServiceIdOptional

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

Property ensServiceId: The ID of ENS service.


imageIdOptional

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

Property imageId: The image ID of instance.


instanceIdsOptional

public java.lang.Object getInstanceIds();
  • Type: java.util.List OR com.aliyun.ros.cdk.core.IResolvable

Property instanceIds: The list of instance IDs.


instanceNameOptional

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

Property instanceName: The name of instance.


instanceResourceTypeOptional

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

Property instanceResourceType: The resource type of instance.

Valid values: EnsPostPaidInstance: PostPaid instance. EnsService: Edge service instance. BuildMachine: Image building machine.


refreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

statusOptional

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

Property status: The status of instance.