Skip to content

DedicatedHostsProps

Properties for defining a DedicatedHosts.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ecs;
new DedicatedHostsProps {
    object DedicatedHostClusterId = null,
    object DedicatedHostIds = null,
    object DedicatedHostName = null,
    object DedicatedHostType = null,
    object RefreshOptions = null,
    object ResourceGroupId = null,
    object Status = null,
    TagsProperty[] Tags = null,
    object ZoneId = null
};

Properties

Name Type Description
DedicatedHostClusterId object Property dedicatedHostClusterId: The ID of the dedicated host cluster.
DedicatedHostIds object Property dedicatedHostIds: The IDs of the dedicated hosts.
DedicatedHostName object Property dedicatedHostName: The name of the dedicated host.
DedicatedHostType object Property dedicatedHostType: The type of the dedicated host.
RefreshOptions object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ResourceGroupId object Property resourceGroupId: The ID of the resource group to which the dedicated host belongs.
Status object Property status: The service status of the dedicated host.
Tags AlibabaCloud.SDK.ROS.CDK.Ecs.datasource.RosDedicatedHosts.TagsProperty[] Property tags: Tags of ddh.
ZoneId object Property zoneId: The zone ID of the dedicated host.

DedicatedHostClusterIdOptional

public object DedicatedHostClusterId { get; set; }
  • Type: object

Property dedicatedHostClusterId: The ID of the dedicated host cluster.


DedicatedHostIdsOptional

public object DedicatedHostIds { get; set; }
  • Type: object

Property dedicatedHostIds: The IDs of the dedicated hosts.

You can specify up to 100 dedicated host IDs.


DedicatedHostNameOptional

public object DedicatedHostName { get; set; }
  • Type: object

Property dedicatedHostName: The name of the dedicated host.


DedicatedHostTypeOptional

public object DedicatedHostType { get; set; }
  • Type: object

Property dedicatedHostType: The type of the dedicated host.


RefreshOptionsOptional

public object RefreshOptions { get; set; }
  • Type: object

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 object ResourceGroupId { get; set; }
  • Type: object

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


StatusOptional

public object Status { get; set; }
  • Type: object

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 TagsProperty[] Tags { get; set; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Ecs.datasource.RosDedicatedHosts.TagsProperty[]

Property tags: Tags of ddh.


ZoneIdOptional

public object ZoneId { get; set; }
  • Type: object

Property zoneId: The zone ID of the dedicated host.