[][src]Struct google_compute1::NodeType

pub struct NodeType {
    pub cpu_platform: Option<String>,
    pub guest_cpus: Option<i32>,
    pub kind: Option<String>,
    pub description: Option<String>,
    pub zone: Option<String>,
    pub deprecated: Option<DeprecationStatus>,
    pub memory_mb: Option<i32>,
    pub local_ssd_gb: Option<i32>,
    pub creation_timestamp: Option<String>,
    pub id: Option<String>,
    pub self_link: Option<String>,
    pub name: Option<String>,
}

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. (== resource_for beta.nodeTypes ==) (== resource_for v1.nodeTypes ==)

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).

Fields

cpu_platform: Option<String>

[Output Only] The CPU platform used by this node type.

guest_cpus: Option<i32>

[Output Only] The number of virtual CPUs that are available to the node type.

kind: Option<String>

[Output Only] The type of the resource. Always compute#nodeType for node types.

description: Option<String>

[Output Only] An optional textual description of the resource.

zone: Option<String>

[Output Only] The name of the zone where the node type resides, such as us-central1-a.

deprecated: Option<DeprecationStatus>

[Output Only] The deprecation status associated with this node type.

memory_mb: Option<i32>

[Output Only] The amount of physical memory available to the node type, defined in MB.

local_ssd_gb: Option<i32>

[Output Only] Local SSD available to the node type, defined in GB.

creation_timestamp: Option<String>

[Output Only] Creation timestamp in RFC3339 text format.

id: Option<String>

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

self_link: Option<String>

[Output Only] Server-defined URL for the resource.

name: Option<String>

[Output Only] Name of the resource.

Trait Implementations

impl Resource for NodeType[src]

impl ResponseResult for NodeType[src]

impl Default for NodeType[src]

impl Clone for NodeType[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for NodeType[src]

impl Serialize for NodeType[src]

impl<'de> Deserialize<'de> for NodeType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]