public sealed class VolumeSnapshot : IMessage<VolumeSnapshot>, IEquatable<VolumeSnapshot>, IDeepCloneable<VolumeSnapshot>, IBufferMessage, IMessage
Reference documentation and code samples for the Bare Metal Solution v2 API class VolumeSnapshot.
A snapshot of a volume. Only boot volumes can have snapshots.
Implements
IMessageVolumeSnapshot, IEquatableVolumeSnapshot, IDeepCloneableVolumeSnapshot, IBufferMessage, IMessageNamespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Constructors
VolumeSnapshot()
public VolumeSnapshot()
VolumeSnapshot(VolumeSnapshot)
public VolumeSnapshot(VolumeSnapshot other)
Parameter | |
---|---|
Name | Description |
other |
VolumeSnapshot |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The creation time of the snapshot.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
The description of the snapshot.
Property Value | |
---|---|
Type | Description |
string |
Id
public string Id { get; set; }
Output only. An identifier for the snapshot, generated by the backend.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
The name of the snapshot.
Property Value | |
---|---|
Type | Description |
string |
StorageVolume
public string StorageVolume { get; set; }
Output only. The name of the volume which this snapshot belongs to.
Property Value | |
---|---|
Type | Description |
string |
StorageVolumeAsVolumeName
public VolumeName StorageVolumeAsVolumeName { get; set; }
VolumeName-typed view over the StorageVolume resource name property.
Property Value | |
---|---|
Type | Description |
VolumeName |
Type
public VolumeSnapshot.Types.SnapshotType Type { get; set; }
Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.
Property Value | |
---|---|
Type | Description |
VolumeSnapshotTypesSnapshotType |
VolumeSnapshotName
public VolumeSnapshotName VolumeSnapshotName { get; set; }
VolumeSnapshotName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
VolumeSnapshotName |