Skip to content

NodesProps

Properties for defining a Nodes.

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

Initializer

import com.aliyun.ros.cdk.ehpc.datasource.NodesProps;
NodesProps.builder()
    .clusterId(java.lang.String)
    .clusterId(IResolvable)
//  .hostName(java.lang.String)
//  .hostName(IResolvable)
//  .hostNamePrefix(java.lang.String)
//  .hostNamePrefix(IResolvable)
//  .hostNameSuffix(java.lang.String)
//  .hostNameSuffix(IResolvable)
//  .privateIpAddress(java.lang.String)
//  .privateIpAddress(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .role(java.lang.String)
//  .role(IResolvable)
    .build();

Properties

Name Type Description
clusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterId: The ID of the cluster.
hostName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property hostName: The name of the node.
hostNamePrefix java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property hostNamePrefix: The prefix of the hostname.
hostNameSuffix java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property hostNameSuffix: The suffix of the hostname.
privateIpAddress java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property privateIpAddress: The private IP address of the node.
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.
role java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property role: The type of the node.

clusterIdRequired

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

Property clusterId: The ID of the cluster.


hostNameOptional

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

Property hostName: The name of the node.

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


hostNamePrefixOptional

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

Property hostNamePrefix: The prefix of the hostname.

You can query nodes that have a specified prefix.


hostNameSuffixOptional

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

Property hostNameSuffix: The suffix of the hostname.

You can query nodes that have a specified suffix.


privateIpAddressOptional

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

Property privateIpAddress: The private IP address of the node.


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.

roleOptional

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

Property role: The type of the node.

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