Struct google_api_proto::google::cloud::gkemulticloud::v1::AttachedCluster
source · pub struct AttachedCluster {Show 22 fields
pub name: String,
pub description: String,
pub oidc_config: Option<AttachedOidcConfig>,
pub platform_version: String,
pub distribution: String,
pub cluster_region: String,
pub fleet: Option<Fleet>,
pub state: i32,
pub uid: String,
pub reconciling: bool,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub etag: String,
pub kubernetes_version: String,
pub annotations: BTreeMap<String, String>,
pub workload_identity_config: Option<WorkloadIdentityConfig>,
pub logging_config: Option<LoggingConfig>,
pub errors: Vec<AttachedClusterError>,
pub authorization: Option<AttachedClustersAuthorization>,
pub monitoring_config: Option<MonitoringConfig>,
pub proxy_config: Option<AttachedProxyConfig>,
pub binary_authorization: Option<BinaryAuthorization>,
}
Expand description
An Anthos cluster running on customer own infrastructure.
Fields§
§name: String
The name of this resource.
Cluster names are formatted as
projects/<project-number>/locations/<region>/attachedClusters/<cluster-id>
.
See Resource Names for more details on Google Cloud Platform resource names.
description: String
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
oidc_config: Option<AttachedOidcConfig>
Required. OpenID Connect (OIDC) configuration for the cluster.
platform_version: String
Required. The platform version for the cluster (e.g. 1.19.0-gke.1000
).
You can list all supported versions on a given Google Cloud region by calling [GetAttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].
distribution: String
Required. The Kubernetes distribution of the underlying attached cluster.
Supported values: [“eks”, “aks”, “generic”].
cluster_region: String
Output only. The region where this cluster runs.
For EKS clusters, this is a AWS region. For AKS clusters, this is an Azure region.
fleet: Option<Fleet>
Required. Fleet configuration.
state: i32
Output only. The current state of the cluster.
uid: String
Output only. A globally unique identifier for the cluster.
reconciling: bool
Output only. If set, there are currently changes in flight to the cluster.
create_time: Option<Timestamp>
Output only. The time at which this cluster was registered.
update_time: Option<Timestamp>
Output only. The time at which this cluster was last updated.
etag: String
Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
kubernetes_version: String
Output only. The Kubernetes version of the cluster.
annotations: BTreeMap<String, String>
Optional. Annotations on the cluster.
This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
workload_identity_config: Option<WorkloadIdentityConfig>
Output only. Workload Identity settings.
logging_config: Option<LoggingConfig>
Optional. Logging configuration for this cluster.
errors: Vec<AttachedClusterError>
Output only. A set of errors found in the cluster.
Optional. Configuration related to the cluster RBAC settings.
monitoring_config: Option<MonitoringConfig>
Optional. Monitoring configuration for this cluster.
proxy_config: Option<AttachedProxyConfig>
Optional. Proxy configuration for outbound HTTP(S) traffic.
Optional. Binary Authorization configuration for this cluster.
Implementations§
Trait Implementations§
source§impl Clone for AttachedCluster
impl Clone for AttachedCluster
source§fn clone(&self) -> AttachedCluster
fn clone(&self) -> AttachedCluster
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AttachedCluster
impl Debug for AttachedCluster
source§impl Default for AttachedCluster
impl Default for AttachedCluster
source§impl Message for AttachedCluster
impl Message for AttachedCluster
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AttachedCluster
impl PartialEq for AttachedCluster
source§fn eq(&self, other: &AttachedCluster) -> bool
fn eq(&self, other: &AttachedCluster) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttachedCluster
Auto Trait Implementations§
impl !Freeze for AttachedCluster
impl RefUnwindSafe for AttachedCluster
impl Send for AttachedCluster
impl Sync for AttachedCluster
impl Unpin for AttachedCluster
impl UnwindSafe for AttachedCluster
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request