ClusterResourceRestoreScopeArgs

data class ClusterResourceRestoreScopeArgs(val selectedGroupKinds: Output<List<GroupKindArgs>>? = null) : ConvertibleToJava<ClusterResourceRestoreScopeArgs>

Defines the scope of cluster-scoped resources to restore. Some group kinds are not reasonable choices for a restore, and will cause an error if selected here. Any scope selection that would restore "all valid" resources automatically excludes these group kinds. - gkebackup.gke.io/BackupJob - gkebackup.gke.io/RestoreJob - metrics.k8s.io/NodeMetrics - migration.k8s.io/StorageState - migration.k8s.io/StorageVersionMigration - Node - snapshot.storage.k8s.io/VolumeSnapshotContent - storage.k8s.io/CSINode Some group kinds are driven by restore configuration elsewhere, and will cause an error if selected here. - Namespace - PersistentVolume

Constructors

Link copied to clipboard
constructor(selectedGroupKinds: Output<List<GroupKindArgs>>? = null)

Properties

Link copied to clipboard
val selectedGroupKinds: Output<List<GroupKindArgs>>? = null

A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.

Functions

Link copied to clipboard
open override fun toJava(): ClusterResourceRestoreScopeArgs