Struct google_container1::ClusterUpdate
source · pub struct ClusterUpdate {
pub desired_master_authorized_networks_config: Option<MasterAuthorizedNetworksConfig>,
pub desired_node_pool_id: Option<String>,
pub desired_addons_config: Option<AddonsConfig>,
pub desired_master_version: Option<String>,
pub desired_locations: Option<Vec<String>>,
pub desired_node_version: Option<String>,
pub desired_monitoring_service: Option<String>,
pub desired_node_pool_autoscaling: Option<NodePoolAutoscaling>,
pub desired_image_type: Option<String>,
}Expand description
ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.
This type is not used in any activity, and only used as part of another schema.
Fields§
Master authorized networks is a Beta feature. The desired configuration options for master authorized networks feature.
desired_node_pool_id: Option<String>The node pool to be upgraded. This field is mandatory if “desired_node_version”, “desired_image_family” or “desired_node_pool_autoscaling” is specified and there is more than one node pool on the cluster.
desired_addons_config: Option<AddonsConfig>Configurations for the various addons available to run in the cluster.
desired_master_version: Option<String>The Kubernetes version to change the master to. The only valid value is the latest supported version. Use “-” to have the server automatically select the latest version.
desired_locations: Option<Vec<String>>The desired list of Google Compute Engine locations in which the cluster’s nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed.
This list must always include the cluster’s primary zone.
desired_node_version: Option<String>The Kubernetes version to change the nodes to (typically an
upgrade). Use - to upgrade to the latest version supported by
the server.
desired_monitoring_service: Option<String>The monitoring service the cluster should use to write metrics. Currently available options:
- “monitoring.googleapis.com” - the Google Cloud Monitoring service
- “none” - no metrics will be exported from the cluster
desired_node_pool_autoscaling: Option<NodePoolAutoscaling>Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.
desired_image_type: Option<String>The desired image type for the node pool. NOTE: Set the “desired_node_pool” field as well.
Trait Implementations§
source§impl Clone for ClusterUpdate
impl Clone for ClusterUpdate
source§fn clone(&self) -> ClusterUpdate
fn clone(&self) -> ClusterUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ClusterUpdate
impl Debug for ClusterUpdate
source§impl Default for ClusterUpdate
impl Default for ClusterUpdate
source§fn default() -> ClusterUpdate
fn default() -> ClusterUpdate
source§impl<'de> Deserialize<'de> for ClusterUpdate
impl<'de> Deserialize<'de> for ClusterUpdate
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>,
source§impl Serialize for ClusterUpdate
impl Serialize for ClusterUpdate
impl Part for ClusterUpdate
Auto Trait Implementations§
impl Freeze for ClusterUpdate
impl RefUnwindSafe for ClusterUpdate
impl Send for ClusterUpdate
impl Sync for ClusterUpdate
impl Unpin for ClusterUpdate
impl UnwindSafe for ClusterUpdate
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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