DedicatedHostsProps
Properties for defining a DedicatedHosts
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-dedicatedhosts
Initializer
import com.aliyun.ros.cdk.ecs.datasource.DedicatedHostsProps;
DedicatedHostsProps.builder()
// .dedicatedHostClusterId(java.lang.String)
// .dedicatedHostClusterId(IResolvable)
// .dedicatedHostIds(IResolvable)
// .dedicatedHostIds(java.util.List<java.lang.String)
// .dedicatedHostIds(IResolvable>)
// .dedicatedHostName(java.lang.String)
// .dedicatedHostName(IResolvable)
// .dedicatedHostType(java.lang.String)
// .dedicatedHostType(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .status(java.lang.String)
// .status(IResolvable)
// .tags(java.util.List<TagsProperty>)
// .zoneId(java.lang.String)
// .zoneId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
dedicatedHostClusterId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dedicatedHostClusterId: The ID of the dedicated host cluster. |
dedicatedHostIds |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property dedicatedHostIds: The IDs of the dedicated hosts. |
dedicatedHostName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dedicatedHostName: The name of the dedicated host. |
dedicatedHostType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dedicatedHostType: The type of the dedicated host. |
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. |
resourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: The ID of the resource group to which the dedicated host belongs. |
status |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property status: The service status of the dedicated host. |
tags |
java.util.List |
Property tags: Tags of ddh. |
zoneId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property zoneId: The zone ID of the dedicated host. |
dedicatedHostClusterId
Optional
public java.lang.Object getDedicatedHostClusterId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dedicatedHostClusterId: The ID of the dedicated host cluster.
dedicatedHostIds
Optional
public java.lang.Object getDedicatedHostIds();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property dedicatedHostIds: The IDs of the dedicated hosts.
You can specify up to 100 dedicated host IDs.
dedicatedHostName
Optional
public java.lang.Object getDedicatedHostName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dedicatedHostName: The name of the dedicated host.
dedicatedHostType
Optional
public java.lang.Object getDedicatedHostType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dedicatedHostType: The type of the dedicated host.
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.
resourceGroupId
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group to which the dedicated host belongs.
status
Optional
public java.lang.Object getStatus();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property status: The service status of the dedicated host.
Valid values: Available: The dedicated host is running normally. UnderAssessment: The dedicated host is at risk, which may cause issues to ECS instances on the dedicated host. PermanentFailure: A permanent failure exists and the dedicated host is unavailable. Default value: Available.
tags
Optional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List
Property tags: Tags of ddh.
zoneId
Optional
public java.lang.Object getZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property zoneId: The zone ID of the dedicated host.