Enum googapis::google::cloud::gkebackup::logging::v1::restore_config::NamespacedResourceRestoreMode [−][src]
#[repr(i32)]
pub enum NamespacedResourceRestoreMode {
Unspecified,
DeleteAndRestore,
FailOnConflict,
}
Expand description
Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.
Variants
Unspecified. Only allowed if no namespaced resources will be restored.
When conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered, this will first trigger a delete of the conflicting resource AND ALL OF ITS REFERENCED RESOURCES (e.g., all resources in the Namespace or all resources referenced by the ProtectedApplication) before restoring the resources from the Backup. This mode should only be used when you are intending to revert some portion of a cluster to an earlier state.
If conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered at the beginning of a restore process, the Restore will fail. If a conflict occurs during the restore process itself (e.g., because an out of band process creates conflicting resources), a conflict will be reported.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl Send for NamespacedResourceRestoreMode
impl Sync for NamespacedResourceRestoreMode
impl Unpin for NamespacedResourceRestoreMode
impl UnwindSafe for NamespacedResourceRestoreMode
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more