Class ClusterResourceRestoreScope
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. - Node - ComponentStatus - gkebackup.gke.io/BackupJob - gkebackup.gke.io/RestoreJob - metrics.k8s.io/NodeMetrics - migration.k8s.io/StorageState - migration.k8s.io/StorageVersionMigration - snapshot.storage.k8s.io/VolumeSnapshotContent - storage.k8s.io/CSINode - storage.k8s.io/VolumeAttachment Some group kinds are driven by restore configuration elsewhere, and will cause an error if selected here. - Namespace - PersistentVolume
Implements
Inherited Members
Namespace: Google.Apis.BackupforGKE.v1.Data
Assembly: Google.Apis.BackupforGKE.v1.dll
Syntax
public class ClusterResourceRestoreScope : IDirectResponseSchema
Properties
AllGroupKinds
Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
Declaration
[JsonProperty("allGroupKinds")]
public virtual bool? AllGroupKinds { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExcludedGroupKinds
Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
Declaration
[JsonProperty("excludedGroupKinds")]
public virtual IList<GroupKind> ExcludedGroupKinds { get; set; }
Property Value
Type | Description |
---|---|
IList<GroupKind> |
NoGroupKinds
Optional. If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.
Declaration
[JsonProperty("noGroupKinds")]
public virtual bool? NoGroupKinds { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SelectedGroupKinds
Optional. 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.
Declaration
[JsonProperty("selectedGroupKinds")]
public virtual IList<GroupKind> SelectedGroupKinds { get; set; }
Property Value
Type | Description |
---|---|
IList<GroupKind> |