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 the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for KubernetesMetadata
impl Send for KubernetesMetadata
impl Sync for KubernetesMetadata
impl Unpin for KubernetesMetadata
impl UnwindSafe for KubernetesMetadata
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more