Skip to content

NodesProps

Properties for defining a Nodes.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkehpc/datasource"
&datasource.NodesProps {
    ClusterId: interface{},
    HostName: interface{},
    HostNamePrefix: interface{},
    HostNameSuffix: interface{},
    PrivateIpAddress: interface{},
    RefreshOptions: interface{},
    Role: interface{},
}

Properties

Name Type Description
ClusterId interface{} Property clusterId: The ID of the cluster.
HostName interface{} Property hostName: The name of the node.
HostNamePrefix interface{} Property hostNamePrefix: The prefix of the hostname.
HostNameSuffix interface{} Property hostNameSuffix: The suffix of the hostname.
PrivateIpAddress interface{} Property privateIpAddress: The private IP address of the node.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Role interface{} Property role: The type of the node.

ClusterIdRequired

ClusterId interface{}
  • Type: interface{}

Property clusterId: The ID of the cluster.


HostNameOptional

HostName interface{}
  • Type: interface{}

Property hostName: The name of the node.

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


HostNamePrefixOptional

HostNamePrefix interface{}
  • Type: interface{}

Property hostNamePrefix: The prefix of the hostname.

You can query nodes that have a specified prefix.


HostNameSuffixOptional

HostNameSuffix interface{}
  • Type: interface{}

Property hostNameSuffix: The suffix of the hostname.

You can query nodes that have a specified suffix.


PrivateIpAddressOptional

PrivateIpAddress interface{}
  • Type: interface{}

Property privateIpAddress: The private IP address of the node.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

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 interface{}
  • Type: interface{}

Property role: The type of the node.

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