#[non_exhaustive]pub struct ClusterUpdate {Show 64 fields
pub desired_node_version: String,
pub desired_monitoring_service: String,
pub desired_addons_config: Option<AddonsConfig>,
pub desired_node_pool_id: String,
pub desired_image_type: String,
pub desired_database_encryption: Option<DatabaseEncryption>,
pub desired_workload_identity_config: Option<WorkloadIdentityConfig>,
pub desired_mesh_certificates: Option<MeshCertificates>,
pub desired_shielded_nodes: Option<ShieldedNodes>,
pub desired_cost_management_config: Option<CostManagementConfig>,
pub desired_dns_config: Option<DNSConfig>,
pub desired_node_pool_autoscaling: Option<NodePoolAutoscaling>,
pub desired_locations: Vec<String>,
pub desired_master_authorized_networks_config: Option<MasterAuthorizedNetworksConfig>,
pub desired_cluster_autoscaling: Option<ClusterAutoscaling>,
pub desired_binary_authorization: Option<BinaryAuthorization>,
pub desired_logging_service: String,
pub desired_resource_usage_export_config: Option<ResourceUsageExportConfig>,
pub desired_vertical_pod_autoscaling: Option<VerticalPodAutoscaling>,
pub desired_private_cluster_config: Option<PrivateClusterConfig>,
pub desired_intra_node_visibility_config: Option<IntraNodeVisibilityConfig>,
pub desired_default_snat_status: Option<DefaultSnatStatus>,
pub desired_release_channel: Option<ReleaseChannel>,
pub desired_l4ilb_subsetting_config: Option<ILBSubsettingConfig>,
pub desired_datapath_provider: DatapathProvider,
pub desired_private_ipv6_google_access: PrivateIPv6GoogleAccess,
pub desired_notification_config: Option<NotificationConfig>,
pub desired_authenticator_groups_config: Option<AuthenticatorGroupsConfig>,
pub desired_logging_config: Option<LoggingConfig>,
pub desired_monitoring_config: Option<MonitoringConfig>,
pub desired_identity_service_config: Option<IdentityServiceConfig>,
pub desired_service_external_ips_config: Option<ServiceExternalIPsConfig>,
pub desired_enable_private_endpoint: Option<bool>,
pub desired_default_enable_private_nodes: Option<bool>,
pub desired_control_plane_endpoints_config: Option<ControlPlaneEndpointsConfig>,
pub desired_master_version: String,
pub desired_gcfs_config: Option<GcfsConfig>,
pub desired_node_pool_auto_config_network_tags: Option<NetworkTags>,
pub desired_gateway_api_config: Option<GatewayAPIConfig>,
pub etag: String,
pub desired_node_pool_logging_config: Option<NodePoolLoggingConfig>,
pub desired_fleet: Option<Fleet>,
pub desired_stack_type: StackType,
pub additional_pod_ranges_config: Option<AdditionalPodRangesConfig>,
pub removed_additional_pod_ranges_config: Option<AdditionalPodRangesConfig>,
pub enable_k8s_beta_apis: Option<K8sBetaAPIConfig>,
pub desired_security_posture_config: Option<SecurityPostureConfig>,
pub desired_network_performance_config: Option<ClusterNetworkPerformanceConfig>,
pub desired_enable_fqdn_network_policy: Option<bool>,
pub desired_autopilot_workload_policy_config: Option<WorkloadPolicyConfig>,
pub desired_k8s_beta_apis: Option<K8sBetaAPIConfig>,
pub desired_containerd_config: Option<ContainerdConfig>,
pub desired_enable_multi_networking: Option<bool>,
pub desired_node_pool_auto_config_resource_manager_tags: Option<ResourceManagerTags>,
pub desired_in_transit_encryption_config: Option<InTransitEncryptionConfig>,
pub desired_enable_cilium_clusterwide_network_policy: Option<bool>,
pub desired_secret_manager_config: Option<SecretManagerConfig>,
pub desired_compliance_posture_config: Option<CompliancePostureConfig>,
pub desired_node_kubelet_config: Option<NodeKubeletConfig>,
pub desired_node_pool_auto_config_kubelet_config: Option<NodeKubeletConfig>,
pub user_managed_keys_config: Option<UserManagedKeysConfig>,
pub desired_rbac_binding_config: Option<RBACBindingConfig>,
pub desired_enterprise_config: Option<DesiredEnterpriseConfig>,
pub desired_node_pool_auto_config_linux_node_config: Option<LinuxNodeConfig>,
}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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.desired_node_version: StringThe Kubernetes version to change the nodes to (typically an upgrade).
Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:
- “latest”: picks the highest valid Kubernetes version
- “1.X”: picks the highest valid patch+gke.N patch in the 1.X version
- “1.X.Y”: picks the highest valid gke.N patch in the 1.X.Y version
- “1.X.Y-gke.N”: picks an explicit Kubernetes version
- “-”: picks the Kubernetes master version
desired_monitoring_service: StringThe monitoring service the cluster should use to write metrics. Currently available options:
- “monitoring.googleapis.com/kubernetes” - The Cloud Monitoring service with a Kubernetes-native resource model
monitoring.googleapis.com- The legacy Cloud Monitoring service (no longer available as of GKE 1.15).none- No metrics will be exported from the cluster.
If left as an empty string,monitoring.googleapis.com/kubernetes will be
used for GKE 1.14+ or monitoring.googleapis.com for earlier versions.
desired_addons_config: Option<AddonsConfig>Configurations for the various addons available to run in the cluster.
desired_node_pool_id: StringThe 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_image_type: StringThe desired image type for the node pool. NOTE: Set the “desired_node_pool” field as well.
desired_database_encryption: Option<DatabaseEncryption>Configuration of etcd encryption.
desired_workload_identity_config: Option<WorkloadIdentityConfig>Configuration for Workload Identity.
desired_mesh_certificates: Option<MeshCertificates>Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
desired_shielded_nodes: Option<ShieldedNodes>Configuration for Shielded Nodes.
desired_cost_management_config: Option<CostManagementConfig>The desired configuration for the fine-grained cost management feature.
desired_dns_config: Option<DNSConfig>DNSConfig contains clusterDNS config for this 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_locations: Vec<String>The desired list of Google Compute Engine zones in which the cluster’s nodes should be located.
This list must always include the cluster’s primary zone.
Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.
The desired configuration options for master authorized networks feature.
Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead.
desired_cluster_autoscaling: Option<ClusterAutoscaling>Cluster-level autoscaling configuration.
The desired configuration options for the Binary Authorization feature.
desired_logging_service: StringThe logging service the cluster should use to write logs. Currently available options:
logging.googleapis.com/kubernetes- The Cloud Logging service with a Kubernetes-native resource modellogging.googleapis.com- The legacy Cloud Logging service (no longer available as of GKE 1.15).none- no logs will be exported from the cluster.
If left as an empty string,logging.googleapis.com/kubernetes will be
used for GKE 1.14+ or logging.googleapis.com for earlier versions.
desired_resource_usage_export_config: Option<ResourceUsageExportConfig>The desired configuration for exporting resource usage.
desired_vertical_pod_autoscaling: Option<VerticalPodAutoscaling>Cluster-level Vertical Pod Autoscaling configuration.
desired_private_cluster_config: Option<PrivateClusterConfig>The desired private cluster configuration. master_global_access_config is the only field that can be changed via this field. See also ClusterUpdate.desired_enable_private_endpoint for modifying other fields within PrivateClusterConfig.
Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead.
desired_intra_node_visibility_config: Option<IntraNodeVisibilityConfig>The desired config of Intra-node visibility.
desired_default_snat_status: Option<DefaultSnatStatus>The desired status of whether to disable default sNAT for this cluster.
desired_release_channel: Option<ReleaseChannel>The desired release channel configuration.
desired_l4ilb_subsetting_config: Option<ILBSubsettingConfig>The desired L4 Internal Load Balancer Subsetting configuration.
desired_datapath_provider: DatapathProviderThe desired datapath provider for the cluster.
desired_private_ipv6_google_access: PrivateIPv6GoogleAccessThe desired state of IPv6 connectivity to Google Services.
desired_notification_config: Option<NotificationConfig>The desired notification configuration.
desired_authenticator_groups_config: Option<AuthenticatorGroupsConfig>The desired authenticator groups config for the cluster.
desired_logging_config: Option<LoggingConfig>The desired logging configuration.
desired_monitoring_config: Option<MonitoringConfig>The desired monitoring configuration.
desired_identity_service_config: Option<IdentityServiceConfig>The desired Identity Service component configuration.
desired_service_external_ips_config: Option<ServiceExternalIPsConfig>ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field.
desired_enable_private_endpoint: Option<bool>Enable/Disable private endpoint for the cluster’s master.
Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.
desired_default_enable_private_nodes: Option<bool>Override the default setting of whether future created nodes have private IP addresses only, namely NetworkConfig.default_enable_private_nodes
desired_control_plane_endpoints_config: Option<ControlPlaneEndpointsConfig>Control plane endpoints configuration.
desired_master_version: StringThe Kubernetes version to change the master to.
Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:
- “latest”: picks the highest valid Kubernetes version
- “1.X”: picks the highest valid patch+gke.N patch in the 1.X version
- “1.X.Y”: picks the highest valid gke.N patch in the 1.X.Y version
- “1.X.Y-gke.N”: picks an explicit Kubernetes version
- “-”: picks the default Kubernetes version
desired_gcfs_config: Option<GcfsConfig>The desired GCFS config for the cluster
The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
desired_gateway_api_config: Option<GatewayAPIConfig>The desired config of Gateway API on this cluster.
etag: StringThe current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.
desired_node_pool_logging_config: Option<NodePoolLoggingConfig>The desired node pool logging configuration defaults for the cluster.
desired_fleet: Option<Fleet>The desired fleet configuration for the cluster.
desired_stack_type: StackTypeThe desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.
additional_pod_ranges_config: Option<AdditionalPodRangesConfig>The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.
removed_additional_pod_ranges_config: Option<AdditionalPodRangesConfig>The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the ‘additional_pod_ranges_config’ argument.
enable_k8s_beta_apis: Option<K8sBetaAPIConfig>Kubernetes open source beta apis enabled on the cluster. Only beta apis
desired_security_posture_config: Option<SecurityPostureConfig>Enable/Disable Security Posture API features for the cluster.
desired_network_performance_config: Option<ClusterNetworkPerformanceConfig>The desired network performance config.
desired_enable_fqdn_network_policy: Option<bool>Enable/Disable FQDN Network Policy for the cluster.
desired_autopilot_workload_policy_config: Option<WorkloadPolicyConfig>The desired workload policy configuration for the autopilot cluster.
desired_k8s_beta_apis: Option<K8sBetaAPIConfig>Desired Beta APIs to be enabled for cluster.
desired_containerd_config: Option<ContainerdConfig>The desired containerd config for the cluster.
desired_enable_multi_networking: Option<bool>Enable/Disable Multi-Networking for the cluster
The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
desired_in_transit_encryption_config: Option<InTransitEncryptionConfig>Specify the details of in-transit encryption.
desired_enable_cilium_clusterwide_network_policy: Option<bool>Enable/Disable Cilium Clusterwide Network Policy for the cluster.
desired_secret_manager_config: Option<SecretManagerConfig>Enable/Disable Secret Manager Config.
desired_compliance_posture_config: Option<CompliancePostureConfig>Enable/Disable Compliance Posture features for the cluster.
desired_node_kubelet_config: Option<NodeKubeletConfig>The desired node kubelet config for the cluster.
desired_node_pool_auto_config_kubelet_config: Option<NodeKubeletConfig>The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
user_managed_keys_config: Option<UserManagedKeysConfig>The Custom keys configuration for the cluster.
desired_rbac_binding_config: Option<RBACBindingConfig>RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.
desired_enterprise_config: Option<DesiredEnterpriseConfig>The desired enterprise configuration for the cluster.
desired_node_pool_auto_config_linux_node_config: Option<LinuxNodeConfig>The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
Currently only cgroup_mode can be set here.
Implementations§
Source§impl ClusterUpdate
impl ClusterUpdate
Sourcepub fn set_desired_node_version<T: Into<String>>(self, v: T) -> Self
pub fn set_desired_node_version<T: Into<String>>(self, v: T) -> Self
Sets the value of desired_node_version.
Sourcepub fn set_desired_monitoring_service<T: Into<String>>(self, v: T) -> Self
pub fn set_desired_monitoring_service<T: Into<String>>(self, v: T) -> Self
Sets the value of desired_monitoring_service.
Sourcepub fn set_desired_addons_config<T: Into<Option<AddonsConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_addons_config<T: Into<Option<AddonsConfig>>>( self, v: T, ) -> Self
Sets the value of desired_addons_config.
Sourcepub fn set_desired_node_pool_id<T: Into<String>>(self, v: T) -> Self
pub fn set_desired_node_pool_id<T: Into<String>>(self, v: T) -> Self
Sets the value of desired_node_pool_id.
Sourcepub fn set_desired_image_type<T: Into<String>>(self, v: T) -> Self
pub fn set_desired_image_type<T: Into<String>>(self, v: T) -> Self
Sets the value of desired_image_type.
Sourcepub fn set_desired_database_encryption<T: Into<Option<DatabaseEncryption>>>(
self,
v: T,
) -> Self
pub fn set_desired_database_encryption<T: Into<Option<DatabaseEncryption>>>( self, v: T, ) -> Self
Sets the value of desired_database_encryption.
Sourcepub fn set_desired_workload_identity_config<T: Into<Option<WorkloadIdentityConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_workload_identity_config<T: Into<Option<WorkloadIdentityConfig>>>( self, v: T, ) -> Self
Sets the value of desired_workload_identity_config.
Sourcepub fn set_desired_mesh_certificates<T: Into<Option<MeshCertificates>>>(
self,
v: T,
) -> Self
pub fn set_desired_mesh_certificates<T: Into<Option<MeshCertificates>>>( self, v: T, ) -> Self
Sets the value of desired_mesh_certificates.
Sourcepub fn set_desired_shielded_nodes<T: Into<Option<ShieldedNodes>>>(
self,
v: T,
) -> Self
pub fn set_desired_shielded_nodes<T: Into<Option<ShieldedNodes>>>( self, v: T, ) -> Self
Sets the value of desired_shielded_nodes.
Sourcepub fn set_desired_cost_management_config<T: Into<Option<CostManagementConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_cost_management_config<T: Into<Option<CostManagementConfig>>>( self, v: T, ) -> Self
Sets the value of desired_cost_management_config.
Sourcepub fn set_desired_dns_config<T: Into<Option<DNSConfig>>>(self, v: T) -> Self
pub fn set_desired_dns_config<T: Into<Option<DNSConfig>>>(self, v: T) -> Self
Sets the value of desired_dns_config.
Sourcepub fn set_desired_node_pool_autoscaling<T: Into<Option<NodePoolAutoscaling>>>(
self,
v: T,
) -> Self
pub fn set_desired_node_pool_autoscaling<T: Into<Option<NodePoolAutoscaling>>>( self, v: T, ) -> Self
Sets the value of desired_node_pool_autoscaling.
Sets the value of desired_master_authorized_networks_config.
Sourcepub fn set_desired_cluster_autoscaling<T: Into<Option<ClusterAutoscaling>>>(
self,
v: T,
) -> Self
pub fn set_desired_cluster_autoscaling<T: Into<Option<ClusterAutoscaling>>>( self, v: T, ) -> Self
Sets the value of desired_cluster_autoscaling.
Sets the value of desired_binary_authorization.
Sourcepub fn set_desired_logging_service<T: Into<String>>(self, v: T) -> Self
pub fn set_desired_logging_service<T: Into<String>>(self, v: T) -> Self
Sets the value of desired_logging_service.
Sourcepub fn set_desired_resource_usage_export_config<T: Into<Option<ResourceUsageExportConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_resource_usage_export_config<T: Into<Option<ResourceUsageExportConfig>>>( self, v: T, ) -> Self
Sets the value of desired_resource_usage_export_config.
Sourcepub fn set_desired_vertical_pod_autoscaling<T: Into<Option<VerticalPodAutoscaling>>>(
self,
v: T,
) -> Self
pub fn set_desired_vertical_pod_autoscaling<T: Into<Option<VerticalPodAutoscaling>>>( self, v: T, ) -> Self
Sets the value of desired_vertical_pod_autoscaling.
Sourcepub fn set_desired_private_cluster_config<T: Into<Option<PrivateClusterConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_private_cluster_config<T: Into<Option<PrivateClusterConfig>>>( self, v: T, ) -> Self
Sets the value of desired_private_cluster_config.
Sourcepub fn set_desired_intra_node_visibility_config<T: Into<Option<IntraNodeVisibilityConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_intra_node_visibility_config<T: Into<Option<IntraNodeVisibilityConfig>>>( self, v: T, ) -> Self
Sets the value of desired_intra_node_visibility_config.
Sourcepub fn set_desired_default_snat_status<T: Into<Option<DefaultSnatStatus>>>(
self,
v: T,
) -> Self
pub fn set_desired_default_snat_status<T: Into<Option<DefaultSnatStatus>>>( self, v: T, ) -> Self
Sets the value of desired_default_snat_status.
Sourcepub fn set_desired_release_channel<T: Into<Option<ReleaseChannel>>>(
self,
v: T,
) -> Self
pub fn set_desired_release_channel<T: Into<Option<ReleaseChannel>>>( self, v: T, ) -> Self
Sets the value of desired_release_channel.
Sourcepub fn set_desired_l4ilb_subsetting_config<T: Into<Option<ILBSubsettingConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_l4ilb_subsetting_config<T: Into<Option<ILBSubsettingConfig>>>( self, v: T, ) -> Self
Sets the value of desired_l4ilb_subsetting_config.
Sourcepub fn set_desired_datapath_provider<T: Into<DatapathProvider>>(
self,
v: T,
) -> Self
pub fn set_desired_datapath_provider<T: Into<DatapathProvider>>( self, v: T, ) -> Self
Sets the value of desired_datapath_provider.
Sourcepub fn set_desired_private_ipv6_google_access<T: Into<PrivateIPv6GoogleAccess>>(
self,
v: T,
) -> Self
pub fn set_desired_private_ipv6_google_access<T: Into<PrivateIPv6GoogleAccess>>( self, v: T, ) -> Self
Sets the value of desired_private_ipv6_google_access.
Sourcepub fn set_desired_notification_config<T: Into<Option<NotificationConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_notification_config<T: Into<Option<NotificationConfig>>>( self, v: T, ) -> Self
Sets the value of desired_notification_config.
Sourcepub fn set_desired_authenticator_groups_config<T: Into<Option<AuthenticatorGroupsConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_authenticator_groups_config<T: Into<Option<AuthenticatorGroupsConfig>>>( self, v: T, ) -> Self
Sets the value of desired_authenticator_groups_config.
Sourcepub fn set_desired_logging_config<T: Into<Option<LoggingConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_logging_config<T: Into<Option<LoggingConfig>>>( self, v: T, ) -> Self
Sets the value of desired_logging_config.
Sourcepub fn set_desired_monitoring_config<T: Into<Option<MonitoringConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_monitoring_config<T: Into<Option<MonitoringConfig>>>( self, v: T, ) -> Self
Sets the value of desired_monitoring_config.
Sourcepub fn set_desired_identity_service_config<T: Into<Option<IdentityServiceConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_identity_service_config<T: Into<Option<IdentityServiceConfig>>>( self, v: T, ) -> Self
Sets the value of desired_identity_service_config.
Sourcepub fn set_desired_service_external_ips_config<T: Into<Option<ServiceExternalIPsConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_service_external_ips_config<T: Into<Option<ServiceExternalIPsConfig>>>( self, v: T, ) -> Self
Sets the value of desired_service_external_ips_config.
Sourcepub fn set_desired_enable_private_endpoint<T: Into<Option<bool>>>(
self,
v: T,
) -> Self
pub fn set_desired_enable_private_endpoint<T: Into<Option<bool>>>( self, v: T, ) -> Self
Sets the value of desired_enable_private_endpoint.
Sourcepub fn set_desired_default_enable_private_nodes<T: Into<Option<bool>>>(
self,
v: T,
) -> Self
pub fn set_desired_default_enable_private_nodes<T: Into<Option<bool>>>( self, v: T, ) -> Self
Sets the value of desired_default_enable_private_nodes.
Sourcepub fn set_desired_control_plane_endpoints_config<T: Into<Option<ControlPlaneEndpointsConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_control_plane_endpoints_config<T: Into<Option<ControlPlaneEndpointsConfig>>>( self, v: T, ) -> Self
Sets the value of desired_control_plane_endpoints_config.
Sourcepub fn set_desired_master_version<T: Into<String>>(self, v: T) -> Self
pub fn set_desired_master_version<T: Into<String>>(self, v: T) -> Self
Sets the value of desired_master_version.
Sourcepub fn set_desired_gcfs_config<T: Into<Option<GcfsConfig>>>(self, v: T) -> Self
pub fn set_desired_gcfs_config<T: Into<Option<GcfsConfig>>>(self, v: T) -> Self
Sets the value of desired_gcfs_config.
Sets the value of desired_node_pool_auto_config_network_tags.
Sourcepub fn set_desired_gateway_api_config<T: Into<Option<GatewayAPIConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_gateway_api_config<T: Into<Option<GatewayAPIConfig>>>( self, v: T, ) -> Self
Sets the value of desired_gateway_api_config.
Sourcepub fn set_desired_node_pool_logging_config<T: Into<Option<NodePoolLoggingConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_node_pool_logging_config<T: Into<Option<NodePoolLoggingConfig>>>( self, v: T, ) -> Self
Sets the value of desired_node_pool_logging_config.
Sourcepub fn set_desired_fleet<T: Into<Option<Fleet>>>(self, v: T) -> Self
pub fn set_desired_fleet<T: Into<Option<Fleet>>>(self, v: T) -> Self
Sets the value of desired_fleet.
Sourcepub fn set_desired_stack_type<T: Into<StackType>>(self, v: T) -> Self
pub fn set_desired_stack_type<T: Into<StackType>>(self, v: T) -> Self
Sets the value of desired_stack_type.
Sourcepub fn set_additional_pod_ranges_config<T: Into<Option<AdditionalPodRangesConfig>>>(
self,
v: T,
) -> Self
pub fn set_additional_pod_ranges_config<T: Into<Option<AdditionalPodRangesConfig>>>( self, v: T, ) -> Self
Sets the value of additional_pod_ranges_config.
Sourcepub fn set_removed_additional_pod_ranges_config<T: Into<Option<AdditionalPodRangesConfig>>>(
self,
v: T,
) -> Self
pub fn set_removed_additional_pod_ranges_config<T: Into<Option<AdditionalPodRangesConfig>>>( self, v: T, ) -> Self
Sets the value of removed_additional_pod_ranges_config.
Sourcepub fn set_enable_k8s_beta_apis<T: Into<Option<K8sBetaAPIConfig>>>(
self,
v: T,
) -> Self
pub fn set_enable_k8s_beta_apis<T: Into<Option<K8sBetaAPIConfig>>>( self, v: T, ) -> Self
Sets the value of enable_k8s_beta_apis.
Sourcepub fn set_desired_security_posture_config<T: Into<Option<SecurityPostureConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_security_posture_config<T: Into<Option<SecurityPostureConfig>>>( self, v: T, ) -> Self
Sets the value of desired_security_posture_config.
Sourcepub fn set_desired_network_performance_config<T: Into<Option<ClusterNetworkPerformanceConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_network_performance_config<T: Into<Option<ClusterNetworkPerformanceConfig>>>( self, v: T, ) -> Self
Sets the value of desired_network_performance_config.
Sourcepub fn set_desired_enable_fqdn_network_policy<T: Into<Option<bool>>>(
self,
v: T,
) -> Self
pub fn set_desired_enable_fqdn_network_policy<T: Into<Option<bool>>>( self, v: T, ) -> Self
Sets the value of desired_enable_fqdn_network_policy.
Sourcepub fn set_desired_autopilot_workload_policy_config<T: Into<Option<WorkloadPolicyConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_autopilot_workload_policy_config<T: Into<Option<WorkloadPolicyConfig>>>( self, v: T, ) -> Self
Sets the value of desired_autopilot_workload_policy_config.
Sourcepub fn set_desired_k8s_beta_apis<T: Into<Option<K8sBetaAPIConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_k8s_beta_apis<T: Into<Option<K8sBetaAPIConfig>>>( self, v: T, ) -> Self
Sets the value of desired_k8s_beta_apis.
Sourcepub fn set_desired_containerd_config<T: Into<Option<ContainerdConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_containerd_config<T: Into<Option<ContainerdConfig>>>( self, v: T, ) -> Self
Sets the value of desired_containerd_config.
Sourcepub fn set_desired_enable_multi_networking<T: Into<Option<bool>>>(
self,
v: T,
) -> Self
pub fn set_desired_enable_multi_networking<T: Into<Option<bool>>>( self, v: T, ) -> Self
Sets the value of desired_enable_multi_networking.
Sets the value of desired_node_pool_auto_config_resource_manager_tags.
Sourcepub fn set_desired_in_transit_encryption_config<T: Into<Option<InTransitEncryptionConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_in_transit_encryption_config<T: Into<Option<InTransitEncryptionConfig>>>( self, v: T, ) -> Self
Sets the value of desired_in_transit_encryption_config.
Sourcepub fn set_desired_enable_cilium_clusterwide_network_policy<T: Into<Option<bool>>>(
self,
v: T,
) -> Self
pub fn set_desired_enable_cilium_clusterwide_network_policy<T: Into<Option<bool>>>( self, v: T, ) -> Self
Sets the value of desired_enable_cilium_clusterwide_network_policy.
Sourcepub fn set_desired_secret_manager_config<T: Into<Option<SecretManagerConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_secret_manager_config<T: Into<Option<SecretManagerConfig>>>( self, v: T, ) -> Self
Sets the value of desired_secret_manager_config.
Sourcepub fn set_desired_compliance_posture_config<T: Into<Option<CompliancePostureConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_compliance_posture_config<T: Into<Option<CompliancePostureConfig>>>( self, v: T, ) -> Self
Sets the value of desired_compliance_posture_config.
Sourcepub fn set_desired_node_kubelet_config<T: Into<Option<NodeKubeletConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_node_kubelet_config<T: Into<Option<NodeKubeletConfig>>>( self, v: T, ) -> Self
Sets the value of desired_node_kubelet_config.
Sourcepub fn set_desired_node_pool_auto_config_kubelet_config<T: Into<Option<NodeKubeletConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_node_pool_auto_config_kubelet_config<T: Into<Option<NodeKubeletConfig>>>( self, v: T, ) -> Self
Sets the value of desired_node_pool_auto_config_kubelet_config.
Sourcepub fn set_user_managed_keys_config<T: Into<Option<UserManagedKeysConfig>>>(
self,
v: T,
) -> Self
pub fn set_user_managed_keys_config<T: Into<Option<UserManagedKeysConfig>>>( self, v: T, ) -> Self
Sets the value of user_managed_keys_config.
Sourcepub fn set_desired_rbac_binding_config<T: Into<Option<RBACBindingConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_rbac_binding_config<T: Into<Option<RBACBindingConfig>>>( self, v: T, ) -> Self
Sets the value of desired_rbac_binding_config.
Sourcepub fn set_desired_enterprise_config<T: Into<Option<DesiredEnterpriseConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_enterprise_config<T: Into<Option<DesiredEnterpriseConfig>>>( self, v: T, ) -> Self
Sets the value of desired_enterprise_config.
Sourcepub fn set_desired_node_pool_auto_config_linux_node_config<T: Into<Option<LinuxNodeConfig>>>(
self,
v: T,
) -> Self
pub fn set_desired_node_pool_auto_config_linux_node_config<T: Into<Option<LinuxNodeConfig>>>( self, v: T, ) -> Self
Sets the value of desired_node_pool_auto_config_linux_node_config.
Sourcepub fn set_desired_locations<T, V>(self, v: T) -> Self
pub fn set_desired_locations<T, V>(self, v: T) -> Self
Sets the value of desired_locations.
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 more