public sealed class Backup : IMessage<Backup>, IEquatable<Backup>, IDeepCloneable<Backup>, IBufferMessage, IMessage
Reference documentation and code samples for the NetApp v1 API class Backup.
A NetApp Backup.
Namespace
Google.Cloud.NetApp.V1Assembly
Google.Cloud.NetApp.V1.dll
Constructors
Backup()
public Backup()
Backup(Backup)
public Backup(Backup other)
Parameter | |
---|---|
Name | Description |
other |
Backup |
Properties
BackupName
public BackupName BackupName { get; set; }
BackupName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
BackupName |
BackupType
public Backup.Types.Type BackupType { get; set; }
Output only. Type of backup, manually created or created by a backup policy.
Property Value | |
---|---|
Type | Description |
BackupTypesType |
ChainStorageBytes
public long ChainStorageBytes { get; set; }
Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size)
Property Value | |
---|---|
Type | Description |
long |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time when the backup was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.
Property Value | |
---|---|
Type | Description |
string |
HasSourceSnapshot
public bool HasSourceSnapshot { get; }
Gets whether the "source_snapshot" field is set
Property Value | |
---|---|
Type | Description |
bool |
Labels
public MapField<string, string> Labels { get; }
Resource labels to represent user provided metadata.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Name
public string Name { get; set; }
Identifier. The resource name of the backup.
Format:
projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}
.
Property Value | |
---|---|
Type | Description |
string |
SourceSnapshot
public string SourceSnapshot { get; set; }
If specified, backup will be created from the given snapshot.
If not specified, there will be a new snapshot taken to initiate the backup
creation. Format:
projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}
Property Value | |
---|---|
Type | Description |
string |
SourceSnapshotAsSnapshotName
public SnapshotName SourceSnapshotAsSnapshotName { get; set; }
SnapshotName-typed view over the SourceSnapshot resource name property.
Property Value | |
---|---|
Type | Description |
SnapshotName |
SourceVolume
public string SourceVolume { get; set; }
Volume full name of this backup belongs to.
Format:
projects/{projects_id}/locations/{location}/volumes/{volume_id}
Property Value | |
---|---|
Type | Description |
string |
SourceVolumeAsVolumeName
public VolumeName SourceVolumeAsVolumeName { get; set; }
VolumeName-typed view over the SourceVolume resource name property.
Property Value | |
---|---|
Type | Description |
VolumeName |
State
public Backup.Types.State State { get; set; }
Output only. The backup state.
Property Value | |
---|---|
Type | Description |
BackupTypesState |
VolumeUsageBytes
public long VolumeUsageBytes { get; set; }
Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big.
Property Value | |
---|---|
Type | Description |
long |