#[non_exhaustive]pub struct Node {
pub name: String,
pub fqdn: String,
pub internal_ip: String,
pub node_type_id: String,
pub version: String,
pub custom_core_count: i64,
pub state: State,
/* private fields */
}Expand description
Node in a cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringOutput only. The resource name of this node. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster/nodes/my-node
fqdn: StringOutput only. Fully qualified domain name of the node.
internal_ip: StringOutput only. Internal IP address of the node.
node_type_id: StringOutput only. The canonical identifier of the node type (corresponds to the
NodeType).
For example: standard-72.
version: StringOutput only. The version number of the VMware ESXi management component in this cluster.
custom_core_count: i64Output only. Customized number of cores
state: StateOutput only. The state of the appliance.
Implementations§
Source§impl Node
impl Node
pub fn new() -> Self
Sourcepub fn set_internal_ip<T: Into<String>>(self, v: T) -> Self
pub fn set_internal_ip<T: Into<String>>(self, v: T) -> Self
Sets the value of internal_ip.
Sourcepub fn set_node_type_id<T: Into<String>>(self, v: T) -> Self
pub fn set_node_type_id<T: Into<String>>(self, v: T) -> Self
Sets the value of node_type_id.
Sourcepub fn set_version<T: Into<String>>(self, v: T) -> Self
pub fn set_version<T: Into<String>>(self, v: T) -> Self
Sets the value of version.
Sourcepub fn set_custom_core_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_custom_core_count<T: Into<i64>>(self, v: T) -> Self
Sets the value of custom_core_count.