Skip to content

QueueProps

Properties for defining a Queue.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ehpc-queue

Initializer

import ros_cdk_ehpc
ros_cdk_ehpc.QueueProps(
  cluster_id: typing.Union[str, IResolvable] = None,
  compute_nodes: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ComputeNodesProperty]]] = None,
  enable_scale_in: typing.Union[bool, IResolvable] = None,
  enable_scale_out: typing.Union[bool, IResolvable] = None,
  hostname_prefix: typing.Union[str, IResolvable] = None,
  hostname_suffix: typing.Union[str, IResolvable] = None,
  initial_count: typing.Union[typing.Union[int, float], IResolvable] = None,
  inter_connect: typing.Union[str, IResolvable] = None,
  max_count: typing.Union[typing.Union[int, float], IResolvable] = None,
  min_count: typing.Union[typing.Union[int, float], IResolvable] = None,
  queue_name: typing.Union[str, IResolvable] = None,
  v_switch_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None
)

Properties

Name Type Description
cluster_id typing.Union[str, ros_cdk_core.IResolvable] Property clusterId: The cluster ID.
compute_nodes typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ComputeNodesProperty]]] Property computeNodes: The hardware configurations of the compute nodes in the queue.
enable_scale_in typing.Union[bool, ros_cdk_core.IResolvable] Property enableScaleIn: Specifies whether to enable auto scale-in for the queue.
enable_scale_out typing.Union[bool, ros_cdk_core.IResolvable] Property enableScaleOut: Specifies whether to enable auto scale-out for the queue.
hostname_prefix typing.Union[str, ros_cdk_core.IResolvable] Property hostnamePrefix: The hostname prefix of the added compute nodes.
hostname_suffix typing.Union[str, ros_cdk_core.IResolvable] Property hostnameSuffix: The hostname suffix of the compute nodes in the queue.
initial_count typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property initialCount: The initial number of compute nodes in the queue.
inter_connect typing.Union[str, ros_cdk_core.IResolvable] Property interConnect: The type of the network for interconnecting compute nodes in the queue.
max_count typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property maxCount: The maximum number of compute nodes that the queue can contain.
min_count typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property minCount: The minimum number of compute nodes that the queue must contain.
queue_name typing.Union[str, ros_cdk_core.IResolvable] Property queueName: The queue name.
v_switch_ids typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property vSwitchIds: The VSwitches available for use by compute nodes in the queue.

cluster_idOptional

cluster_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property clusterId: The cluster ID.


compute_nodesOptional

compute_nodes: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ComputeNodesProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ComputeNodesProperty]]]

Property computeNodes: The hardware configurations of the compute nodes in the queue.

Valid values of N: 1 to 10.


enable_scale_inOptional

enable_scale_in: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property enableScaleIn: Specifies whether to enable auto scale-in for the queue.

Valid values:

  • true
  • false.

enable_scale_outOptional

enable_scale_out: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property enableScaleOut: Specifies whether to enable auto scale-out for the queue.

Valid values:

  • true
  • false.

hostname_prefixOptional

hostname_prefix: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property hostnamePrefix: The hostname prefix of the added compute nodes.


hostname_suffixOptional

hostname_suffix: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property hostnameSuffix: The hostname suffix of the compute nodes in the queue.


initial_countOptional

initial_count: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property initialCount: The initial number of compute nodes in the queue.


inter_connectOptional

inter_connect: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property interConnect: The type of the network for interconnecting compute nodes in the queue.


max_countOptional

max_count: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property maxCount: The maximum number of compute nodes that the queue can contain.


min_countOptional

min_count: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property minCount: The minimum number of compute nodes that the queue must contain.


queue_nameOptional

queue_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property queueName: The queue name.


v_switch_idsOptional

v_switch_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property vSwitchIds: The VSwitches available for use by compute nodes in the queue.