pub struct NodeType {
pub cpu_platform: Option<String>,
pub creation_timestamp: Option<String>,
pub deprecated: Option<DeprecationStatus>,
pub description: Option<String>,
pub guest_cpus: Option<i32>,
pub id: Option<u64>,
pub kind: Option<String>,
pub local_ssd_gb: Option<i32>,
pub memory_mb: Option<i32>,
pub name: Option<String>,
pub self_link: Option<String>,
pub zone: Option<String>,
}
Expand description
Represent a sole-tenant Node Type resource. Each node within a node group must have a node type. A node type specifies the total amount of cores and memory for that node. Currently, the only available node type is n1-node-96-624 node type that has 96 vCPUs and 624 GB of memory, available in multiple zones. For more information read Node types.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- aggregated list node types (none)
- get node types (response)
- list node types (none)
Fields§
§cpu_platform: Option<String>
[Output Only] The CPU platform used by this node type.
creation_timestamp: Option<String>
[Output Only] Creation timestamp in RFC3339 text format.
deprecated: Option<DeprecationStatus>
[Output Only] The deprecation status associated with this node type.
description: Option<String>
[Output Only] An optional textual description of the resource.
guest_cpus: Option<i32>
[Output Only] The number of virtual CPUs that are available to the node type.
id: Option<u64>
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
kind: Option<String>
[Output Only] The type of the resource. Always compute#nodeType for node types.
local_ssd_gb: Option<i32>
[Output Only] Local SSD available to the node type, defined in GB.
memory_mb: Option<i32>
[Output Only] The amount of physical memory available to the node type, defined in MB.
name: Option<String>
[Output Only] Name of the resource.
self_link: Option<String>
[Output Only] Server-defined URL for the resource.
zone: Option<String>
[Output Only] The name of the zone where the node type resides, such as us-central1-a.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeType
impl<'de> Deserialize<'de> for NodeType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Resource for NodeType
impl ResponseResult for NodeType
Auto Trait Implementations§
impl Freeze for NodeType
impl RefUnwindSafe for NodeType
impl Send for NodeType
impl Sync for NodeType
impl Unpin for NodeType
impl UnwindSafe for NodeType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more