DedicatedHostsProps
Properties for defining a DedicatedHosts.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-dedicatedhosts
Initializer
import { datasource } from '@alicloud/ros-cdk-ecs'
const dedicatedHostsProps: datasource.DedicatedHostsProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
dedicatedHostClusterId | string | @alicloud/ros-cdk-core.IResolvable | Property dedicatedHostClusterId: The ID of the dedicated host cluster. |
dedicatedHostIds | @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] | Property dedicatedHostIds: The IDs of the dedicated hosts. |
dedicatedHostName | string | @alicloud/ros-cdk-core.IResolvable | Property dedicatedHostName: The name of the dedicated host. |
dedicatedHostType | string | @alicloud/ros-cdk-core.IResolvable | Property dedicatedHostType: The type of the dedicated host. |
refreshOptions | string | @alicloud/ros-cdk-core.IResolvable | Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
resourceGroupId | string | @alicloud/ros-cdk-core.IResolvable | Property resourceGroupId: The ID of the resource group to which the dedicated host belongs. |
status | string | @alicloud/ros-cdk-core.IResolvable | Property status: The service status of the dedicated host. |
tags | @alicloud/ros-cdk-ecs.datasource.RosDedicatedHosts.TagsProperty[] | Property tags: Tags of ddh. |
zoneId | string | @alicloud/ros-cdk-core.IResolvable | Property zoneId: The zone ID of the dedicated host. |
dedicatedHostClusterIdOptional
public readonly dedicatedHostClusterId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dedicatedHostClusterId: The ID of the dedicated host cluster.
dedicatedHostIdsOptional
public readonly dedicatedHostIds: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property dedicatedHostIds: The IDs of the dedicated hosts.
You can specify up to 100 dedicated host IDs.
dedicatedHostNameOptional
public readonly dedicatedHostName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dedicatedHostName: The name of the dedicated host.
dedicatedHostTypeOptional
public readonly dedicatedHostType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dedicatedHostType: The type of the dedicated host.
refreshOptionsOptional
public readonly refreshOptions: string | IResolvable;
- Type: string | @alicloud/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.
resourceGroupIdOptional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group to which the dedicated host belongs.
statusOptional
public readonly status: string | IResolvable;
- Type: string | @alicloud/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.
tagsOptional
public readonly tags: TagsProperty[];
- Type: @alicloud/ros-cdk-ecs.datasource.RosDedicatedHosts.TagsProperty[]
Property tags: Tags of ddh.
zoneIdOptional
public readonly zoneId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property zoneId: The zone ID of the dedicated host.