Skip to content

DedicatedHostClustersProps

Properties for defining a DedicatedHostClusters.

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

Initializer

import com.aliyun.ros.cdk.ecs.datasource.DedicatedHostClustersProps;
DedicatedHostClustersProps.builder()
//  .dedicatedHostClusterName(java.lang.String)
//  .dedicatedHostClusterName(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .zoneId(java.lang.String)
//  .zoneId(IResolvable)
    .build();

Properties

Name Type Description
dedicatedHostClusterName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dedicatedHostClusterName: The name of the dedicated host cluster.
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 cluster belongs.
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property zoneId: The zone ID of the dedicated host cluster.

dedicatedHostClusterNameOptional

public java.lang.Object getDedicatedHostClusterName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dedicatedHostClusterName: The name of the dedicated host cluster.


refreshOptionsOptional

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.

resourceGroupIdOptional

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 cluster belongs.

If this parameter is specified to query resources, up to 1,000 resources that belong to the specified resource group can be displayed in the response.


zoneIdOptional

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 cluster.

You can call the DescribeZones operation to query the most recent zone list.