public sealed class VolumeBackup : IMessage<VolumeBackup>, IEquatable<VolumeBackup>, IDeepCloneable<VolumeBackup>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup for GKE v1 API class VolumeBackup.
Represents the backup of a specific persistent volume as a component of a Backup - both the record of the operation and a pointer to the underlying storage-specific artifacts.
Implements
IMessageVolumeBackup, IEquatableVolumeBackup, IDeepCloneableVolumeBackup, IBufferMessage, IMessageNamespace
Google.Cloud.GkeBackup.V1Assembly
Google.Cloud.GkeBackup.V1.dll
Constructors
VolumeBackup()
public VolumeBackup()
VolumeBackup(VolumeBackup)
public VolumeBackup(VolumeBackup other)
Parameter | |
---|---|
Name | Description |
other |
VolumeBackup |
Properties
CompleteTime
public Timestamp CompleteTime { get; set; }
Output only. The timestamp when the associated underlying volume backup operation completed.
Property Value | |
---|---|
Type | Description |
Timestamp |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The timestamp when this VolumeBackup resource was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
DiskSizeBytes
public long DiskSizeBytes { get; set; }
Output only. The minimum size of the disk to which this VolumeBackup can be restored.
Property Value | |
---|---|
Type | Description |
long |
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 backup from overwriting each
other. It is strongly suggested that systems make use of the etag
in the
read-modify-write cycle to perform volume backup updates in order to avoid
race conditions.
Property Value | |
---|---|
Type | Description |
string |
Format
public VolumeBackup.Types.VolumeBackupFormat Format { get; set; }
Output only. The format used for the volume backup.
Property Value | |
---|---|
Type | Description |
VolumeBackupTypesVolumeBackupFormat |
Name
public string Name { get; set; }
Output only. The full name of the VolumeBackup resource.
Format: projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*
.
Property Value | |
---|---|
Type | Description |
string |
SourcePvc
public NamespacedName SourcePvc { get; set; }
Output only. A reference to the source Kubernetes PVC from which this VolumeBackup was created.
Property Value | |
---|---|
Type | Description |
NamespacedName |
State
public VolumeBackup.Types.State State { get; set; }
Output only. The current state of this VolumeBackup.
Property Value | |
---|---|
Type | Description |
VolumeBackupTypesState |
StateMessage
public string StateMessage { get; set; }
Output only. A human readable message explaining why the VolumeBackup is in its current state.
Property Value | |
---|---|
Type | Description |
string |
StorageBytes
public long StorageBytes { get; set; }
Output only. The aggregate size of the underlying artifacts associated with this VolumeBackup in the backup storage. This may change over time when multiple backups of the same volume share the same backup storage location. In particular, this is likely to increase in size when the immediately preceding backup of the same volume is deleted.
Property Value | |
---|---|
Type | Description |
long |
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 VolumeBackup resource was last updated.
Property Value | |
---|---|
Type | Description |
Timestamp |
VolumeBackupHandle
public string VolumeBackupHandle { get; set; }
Output only. A storage system-specific opaque handle to the underlying volume backup.
Property Value | |
---|---|
Type | Description |
string |
VolumeBackupName
public VolumeBackupName VolumeBackupName { get; set; }
VolumeBackupName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
VolumeBackupName |