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 |
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 |
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. |
ensRegionIds
Optional
public java.lang.Object getEnsRegionIds();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property ensRegionIds: The list of ENS region IDs.
ensServiceId
Optional
public java.lang.Object getEnsServiceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ensServiceId: The ID of ENS service.
imageId
Optional
public java.lang.Object getImageId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property imageId: The image ID of instance.
instanceIds
Optional
public java.lang.Object getInstanceIds();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property instanceIds: The list of instance IDs.
instanceName
Optional
public java.lang.Object getInstanceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceName: The name of instance.
instanceResourceType
Optional
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.
refreshOptions
Optional
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.
status
Optional
public java.lang.Object getStatus();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property status: The status of instance.