QueueProps
Properties for defining a Queue.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ehpc-queue
Initializer
import { QueueProps } from '@alicloud/ros-cdk-ehpc'
const queueProps: QueueProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
clusterId | string | @alicloud/ros-cdk-core.IResolvable | Property clusterId: The cluster ID. |
computeNodes | @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ComputeNodesProperty[] | Property computeNodes: The hardware configurations of the compute nodes in the queue. |
enableScaleIn | boolean | @alicloud/ros-cdk-core.IResolvable | Property enableScaleIn: Specifies whether to enable auto scale-in for the queue. |
enableScaleOut | boolean | @alicloud/ros-cdk-core.IResolvable | Property enableScaleOut: Specifies whether to enable auto scale-out for the queue. |
hostnamePrefix | string | @alicloud/ros-cdk-core.IResolvable | Property hostnamePrefix: The hostname prefix of the added compute nodes. |
hostnameSuffix | string | @alicloud/ros-cdk-core.IResolvable | Property hostnameSuffix: The hostname suffix of the compute nodes in the queue. |
initialCount | number | @alicloud/ros-cdk-core.IResolvable | Property initialCount: The initial number of compute nodes in the queue. |
interConnect | string | @alicloud/ros-cdk-core.IResolvable | Property interConnect: The type of the network for interconnecting compute nodes in the queue. |
maxCount | number | @alicloud/ros-cdk-core.IResolvable | Property maxCount: The maximum number of compute nodes that the queue can contain. |
minCount | number | @alicloud/ros-cdk-core.IResolvable | Property minCount: The minimum number of compute nodes that the queue must contain. |
queueName | string | @alicloud/ros-cdk-core.IResolvable | Property queueName: The queue name. |
vSwitchIds | @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] | Property vSwitchIds: The VSwitches available for use by compute nodes in the queue. |
clusterIdOptional
public readonly clusterId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterId: The cluster ID.
computeNodesOptional
public readonly computeNodes: IResolvable | IResolvable | ComputeNodesProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ComputeNodesProperty[]
Property computeNodes: The hardware configurations of the compute nodes in the queue.
Valid values of N: 1 to 10.
enableScaleInOptional
public readonly enableScaleIn: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property enableScaleIn: Specifies whether to enable auto scale-in for the queue.
Valid values: * true * false.
enableScaleOutOptional
public readonly enableScaleOut: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property enableScaleOut: Specifies whether to enable auto scale-out for the queue.
Valid values: * true * false.
hostnamePrefixOptional
public readonly hostnamePrefix: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property hostnamePrefix: The hostname prefix of the added compute nodes.
hostnameSuffixOptional
public readonly hostnameSuffix: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property hostnameSuffix: The hostname suffix of the compute nodes in the queue.
initialCountOptional
public readonly initialCount: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property initialCount: The initial number of compute nodes in the queue.
interConnectOptional
public readonly interConnect: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property interConnect: The type of the network for interconnecting compute nodes in the queue.
maxCountOptional
public readonly maxCount: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property maxCount: The maximum number of compute nodes that the queue can contain.
minCountOptional
public readonly minCount: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property minCount: The minimum number of compute nodes that the queue must contain.
queueNameOptional
public readonly queueName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property queueName: The queue name.
vSwitchIdsOptional
public readonly vSwitchIds: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property vSwitchIds: The VSwitches available for use by compute nodes in the queue.