#[non_exhaustive]pub struct ClusterUpgradeInfo {
pub minor_target_version: Option<String>,
pub patch_target_version: Option<String>,
pub auto_upgrade_status: Vec<AutoUpgradeStatus>,
pub paused_reason: Vec<AutoUpgradePausedReason>,
pub upgrade_details: Vec<UpgradeDetails>,
pub end_of_standard_support_timestamp: Option<String>,
pub end_of_extended_support_timestamp: Option<String>,
/* private fields */
}Expand description
ClusterUpgradeInfo contains the upgrade information of a cluster.
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.minor_target_version: Option<String>minor_target_version indicates the target version for minor upgrade.
patch_target_version: Option<String>patch_target_version indicates the target version for patch upgrade.
auto_upgrade_status: Vec<AutoUpgradeStatus>The auto upgrade status.
paused_reason: Vec<AutoUpgradePausedReason>The auto upgrade paused reason.
upgrade_details: Vec<UpgradeDetails>The list of past auto upgrades.
end_of_standard_support_timestamp: Option<String>The cluster’s current minor version’s end of standard support timestamp.
end_of_extended_support_timestamp: Option<String>The cluster’s current minor version’s end of extended support timestamp.
Implementations§
Source§impl ClusterUpgradeInfo
impl ClusterUpgradeInfo
pub fn new() -> Self
Sourcepub fn set_minor_target_version<T>(self, v: T) -> Self
pub fn set_minor_target_version<T>(self, v: T) -> Self
Sets the value of minor_target_version.
Sourcepub fn set_or_clear_minor_target_version<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_minor_target_version<T>(self, v: Option<T>) -> Self
Sets or clears the value of minor_target_version.
Sourcepub fn set_patch_target_version<T>(self, v: T) -> Self
pub fn set_patch_target_version<T>(self, v: T) -> Self
Sets the value of patch_target_version.
Sourcepub fn set_or_clear_patch_target_version<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_patch_target_version<T>(self, v: Option<T>) -> Self
Sets or clears the value of patch_target_version.
Sourcepub fn set_auto_upgrade_status<T, V>(self, v: T) -> Self
pub fn set_auto_upgrade_status<T, V>(self, v: T) -> Self
Sets the value of auto_upgrade_status.
Sourcepub fn set_paused_reason<T, V>(self, v: T) -> Self
pub fn set_paused_reason<T, V>(self, v: T) -> Self
Sets the value of paused_reason.
Sourcepub fn set_upgrade_details<T, V>(self, v: T) -> Self
pub fn set_upgrade_details<T, V>(self, v: T) -> Self
Sets the value of upgrade_details.
Sourcepub fn set_end_of_standard_support_timestamp<T>(self, v: T) -> Self
pub fn set_end_of_standard_support_timestamp<T>(self, v: T) -> Self
Sets the value of end_of_standard_support_timestamp.
Sourcepub fn set_or_clear_end_of_standard_support_timestamp<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_end_of_standard_support_timestamp<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of end_of_standard_support_timestamp.
Sourcepub fn set_end_of_extended_support_timestamp<T>(self, v: T) -> Self
pub fn set_end_of_extended_support_timestamp<T>(self, v: T) -> Self
Sets the value of end_of_extended_support_timestamp.
Sourcepub fn set_or_clear_end_of_extended_support_timestamp<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_end_of_extended_support_timestamp<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of end_of_extended_support_timestamp.
Trait Implementations§
Source§impl Clone for ClusterUpgradeInfo
impl Clone for ClusterUpgradeInfo
Source§fn clone(&self) -> ClusterUpgradeInfo
fn clone(&self) -> ClusterUpgradeInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more