public sealed class VolumeRestore : IMessage<VolumeRestore>, IEquatable<VolumeRestore>, IDeepCloneable<VolumeRestore>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup for GKE v1 API class VolumeRestore.
Represents the operation of restoring a volume from a VolumeBackup.
Implements
IMessageVolumeRestore, IEquatableVolumeRestore, IDeepCloneableVolumeRestore, IBufferMessage, IMessageNamespace
Google.Cloud.GkeBackup.V1Assembly
Google.Cloud.GkeBackup.V1.dll
Constructors
VolumeRestore()
public VolumeRestore()
VolumeRestore(VolumeRestore)
public VolumeRestore(VolumeRestore other)
Parameter | |
---|---|
Name | Description |
other |
VolumeRestore |
Properties
CompleteTime
public Timestamp CompleteTime { get; set; }
Output only. The timestamp when the associated underlying volume restoration completed.
Property Value | |
---|---|
Type | Description |
Timestamp |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The timestamp when this VolumeRestore resource was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Etag
public string Etag { get; set; }
Output only. etag
is used for optimistic concurrency control as a way to
help prevent simultaneous updates of a volume restore from overwriting each
other. It is strongly suggested that systems make use of the etag
in the
read-modify-write cycle to perform volume restore updates in order to avoid
race conditions.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Output only. Full name of the VolumeRestore resource.
Format: projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*
Property Value | |
---|---|
Type | Description |
string |
State
public VolumeRestore.Types.State State { get; set; }
Output only. The current state of this VolumeRestore.
Property Value | |
---|---|
Type | Description |
VolumeRestoreTypesState |
StateMessage
public string StateMessage { get; set; }
Output only. A human readable message explaining why the VolumeRestore is in its current state.
Property Value | |
---|---|
Type | Description |
string |
TargetPvc
public NamespacedName TargetPvc { get; set; }
Output only. The reference to the target Kubernetes PVC to be restored.
Property Value | |
---|---|
Type | Description |
NamespacedName |
Uid
public string Uid { get; set; }
Output only. Server generated global unique identifier of UUID format.
Property Value | |
---|---|
Type | Description |
string |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The timestamp when this VolumeRestore resource was last updated.
Property Value | |
---|---|
Type | Description |
Timestamp |
VolumeBackup
public string VolumeBackup { get; set; }
Output only. The full name of the VolumeBackup from which the volume will
be restored. Format:
projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*
.
Property Value | |
---|---|
Type | Description |
string |
VolumeHandle
public string VolumeHandle { get; set; }
Output only. A storage system-specific opaque handler to the underlying volume created for the target PVC from the volume backup.
Property Value | |
---|---|
Type | Description |
string |
VolumeRestoreName
public VolumeRestoreName VolumeRestoreName { get; set; }
VolumeRestoreName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
VolumeRestoreName |
VolumeType
public VolumeRestore.Types.VolumeType VolumeType { get; set; }
Output only. The type of volume provisioned
Property Value | |
---|---|
Type | Description |
VolumeRestoreTypesVolumeType |