#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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
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
Sourcepub fn set_version<T: Into<String>>(self, v: T) -> Self
pub fn set_version<T: Into<String>>(self, v: T) -> Self
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
Trait Implementations§
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more