Struct google_gkehub1::api::KubernetesMetadata[][src]

pub struct KubernetesMetadata {
    pub kubernetes_api_server_version: Option<String>,
    pub memory_mb: Option<i32>,
    pub node_count: Option<i32>,
    pub node_provider_id: Option<String>,
    pub update_time: Option<String>,
    pub vcpu_count: Option<i32>,
}
Expand description

KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.

This type is not used in any activity, and only used as part of another schema.

Fields

kubernetes_api_server_version: Option<String>

Output only. Kubernetes API server version string as reported by /version.

memory_mb: Option<i32>

Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.

node_count: Option<i32>

Output only. Node count as reported by Kubernetes nodes resources.

node_provider_id: Option<String>

Output only. Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.

update_time: Option<String>

Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.

vcpu_count: Option<i32>

Output only. vCPU count as reported by Kubernetes nodes resources.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.