Skip to content

DedicatedHostsProps

Properties for defining a DedicatedHosts.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-dedicatedhosts

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs/datasource"
&datasource.DedicatedHostsProps {
    DedicatedHostClusterId: interface{},
    DedicatedHostIds: interface{},
    DedicatedHostName: interface{},
    DedicatedHostType: interface{},
    RefreshOptions: interface{},
    ResourceGroupId: interface{},
    Status: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.datasource.RosDedicatedHosts.TagsProperty,
    ZoneId: interface{},
}

Properties

Name Type Description
DedicatedHostClusterId interface{} Property dedicatedHostClusterId: The ID of the dedicated host cluster.
DedicatedHostIds interface{} Property dedicatedHostIds: The IDs of the dedicated hosts.
DedicatedHostName interface{} Property dedicatedHostName: The name of the dedicated host.
DedicatedHostType interface{} Property dedicatedHostType: The type of the dedicated host.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group to which the dedicated host belongs.
Status interface{} Property status: The service status of the dedicated host.
Tags *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.datasource.RosDedicatedHosts.TagsProperty Property tags: Tags of ddh.
ZoneId interface{} Property zoneId: The zone ID of the dedicated host.

DedicatedHostClusterIdOptional

DedicatedHostClusterId interface{}
  • Type: interface{}

Property dedicatedHostClusterId: The ID of the dedicated host cluster.


DedicatedHostIdsOptional

DedicatedHostIds interface{}
  • Type: interface{}

Property dedicatedHostIds: The IDs of the dedicated hosts.

You can specify up to 100 dedicated host IDs.


DedicatedHostNameOptional

DedicatedHostName interface{}
  • Type: interface{}

Property dedicatedHostName: The name of the dedicated host.


DedicatedHostTypeOptional

DedicatedHostType interface{}
  • Type: interface{}

Property dedicatedHostType: The type of the dedicated host.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

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

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group to which the dedicated host belongs.


StatusOptional

Status interface{}
  • Type: interface{}

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

Tags *[]TagsProperty
  • Type: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.datasource.RosDedicatedHosts.TagsProperty

Property tags: Tags of ddh.


ZoneIdOptional

ZoneId interface{}
  • Type: interface{}

Property zoneId: The zone ID of the dedicated host.