Skip to content

NodesProps

Properties for defining a Nodes.

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

Initializer

from ros_cdk_ehpc import datasource
datasource.NodesProps(
  cluster_id: typing.Union[str, IResolvable],
  host_name: typing.Union[str, IResolvable] = None,
  host_name_prefix: typing.Union[str, IResolvable] = None,
  host_name_suffix: typing.Union[str, IResolvable] = None,
  private_ip_address: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None,
  role: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
cluster_id typing.Union[str, ros_cdk_core.IResolvable] Property clusterId: The ID of the cluster.
host_name typing.Union[str, ros_cdk_core.IResolvable] Property hostName: The name of the node.
host_name_prefix typing.Union[str, ros_cdk_core.IResolvable] Property hostNamePrefix: The prefix of the hostname.
host_name_suffix typing.Union[str, ros_cdk_core.IResolvable] Property hostNameSuffix: The suffix of the hostname.
private_ip_address typing.Union[str, ros_cdk_core.IResolvable] Property privateIpAddress: The private IP address of the node.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
role typing.Union[str, ros_cdk_core.IResolvable] Property role: The type of the node.

cluster_idRequired

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

Property clusterId: The ID of the cluster.


host_nameOptional

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

Property hostName: The name of the node.

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


host_name_prefixOptional

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

Property hostNamePrefix: The prefix of the hostname.

You can query nodes that have a specified prefix.


host_name_suffixOptional

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

Property hostNameSuffix: The suffix of the hostname.

You can query nodes that have a specified suffix.


private_ip_addressOptional

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

Property privateIpAddress: The private IP address of the node.


refresh_optionsOptional

refresh_options: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

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

Property role: The type of the node.

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