public sealed class DiskBackupProperties : IMessage<DiskBackupProperties>, IEquatable<DiskBackupProperties>, IDeepCloneable<DiskBackupProperties>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class DiskBackupProperties.
DiskBackupProperties represents the properties of a Disk backup.
Implements
IMessageDiskBackupProperties, IEquatableDiskBackupProperties, IDeepCloneableDiskBackupProperties, IBufferMessage, IMessageNamespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
DiskBackupProperties()
public DiskBackupProperties()
DiskBackupProperties(DiskBackupProperties)
public DiskBackupProperties(DiskBackupProperties other)
Parameter | |
---|---|
Name | Description |
other |
DiskBackupProperties |
Properties
Architecture
public DiskBackupProperties.Types.Architecture Architecture { get; set; }
The architecture of the source disk. Valid values are ARM64 or X86_64.
Property Value | |
---|---|
Type | Description |
DiskBackupPropertiesTypesArchitecture |
Description
public string Description { get; set; }
A description of the source disk.
Property Value | |
---|---|
Type | Description |
string |
GuestOsFeature
public RepeatedField<GuestOsFeature> GuestOsFeature { get; }
A list of guest OS features that are applicable to this backup.
Property Value | |
---|---|
Type | Description |
RepeatedFieldGuestOsFeature |
HasArchitecture
public bool HasArchitecture { get; }
Gets whether the "architecture" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasRegion
public bool HasRegion { get; }
Gets whether the "region" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSizeGb
public bool HasSizeGb { get; }
Gets whether the "size_gb" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSourceDisk
public bool HasSourceDisk { get; }
Gets whether the "source_disk" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasType
public bool HasType { get; }
Gets whether the "type" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasZone
public bool HasZone { get; }
Gets whether the "zone" field is set
Property Value | |
---|---|
Type | Description |
bool |
Licenses
public RepeatedField<string> Licenses { get; }
A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Region
public string Region { get; set; }
Region and zone are mutually exclusive fields. The URL of the region of the source disk.
Property Value | |
---|---|
Type | Description |
string |
ReplicaZones
public RepeatedField<string> ReplicaZones { get; }
The URL of the Zones where the source disk should be replicated.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
SizeGb
public long SizeGb { get; set; }
Size(in GB) of the source disk.
Property Value | |
---|---|
Type | Description |
long |
SourceDisk
public string SourceDisk { get; set; }
The source disk used to create this backup.
Property Value | |
---|---|
Type | Description |
string |
Type
public string Type { get; set; }
The URL of the type of the disk.
Property Value | |
---|---|
Type | Description |
string |
Zone
public string Zone { get; set; }
The URL of the Zone where the source disk.
Property Value | |
---|---|
Type | Description |
string |