Skip to content

NodesProps

Properties for defining a Nodes.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ehpc-nodes

Initializer

import { datasource } from '@alicloud/ros-cdk-ehpc'
const nodesProps: datasource.NodesProps = { ... }

Properties

Name Type Description
clusterId string | @alicloud/ros-cdk-core.IResolvable Property clusterId: The ID of the cluster.
hostName string | @alicloud/ros-cdk-core.IResolvable Property hostName: The name of the node.
hostNamePrefix string | @alicloud/ros-cdk-core.IResolvable Property hostNamePrefix: The prefix of the hostname.
hostNameSuffix string | @alicloud/ros-cdk-core.IResolvable Property hostNameSuffix: The suffix of the hostname.
privateIpAddress string | @alicloud/ros-cdk-core.IResolvable Property privateIpAddress: The private IP address of the node.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
role string | @alicloud/ros-cdk-core.IResolvable Property role: The type of the node.

clusterIdRequired

public readonly clusterId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property clusterId: The ID of the cluster.


hostNameOptional

public readonly hostName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property hostName: The name of the node.

You can perform a fuzzy search. MySQL regular expressions are supported.


hostNamePrefixOptional

public readonly hostNamePrefix: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property hostNamePrefix: The prefix of the hostname.

You can query nodes that have a specified prefix.


hostNameSuffixOptional

public readonly hostNameSuffix: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property hostNameSuffix: The suffix of the hostname.

You can query nodes that have a specified suffix.


privateIpAddressOptional

public readonly privateIpAddress: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property privateIpAddress: The private IP address of the node.


refreshOptionsOptional

public readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/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.


roleOptional

public readonly role: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property role: The type of the node.

Valid values: Manager: management node Login: logon node Compute: compute node