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. |
clusterId
Required
public java.lang.Object getClusterId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property clusterId: The ID of the cluster.
hostName
Optional
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.
hostNamePrefix
Optional
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.
hostNameSuffix
Optional
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.
privateIpAddress
Optional
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.
refreshOptions
Optional
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.
role
Optional
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