Backup and DR Service v1beta API - Class RestoreDiskFromInstanceOptions (1.0.0-beta01)

public sealed class RestoreDiskFromInstanceOptions : IMessage<RestoreDiskFromInstanceOptions>, IEquatable<RestoreDiskFromInstanceOptions>, IDeepCloneable<RestoreDiskFromInstanceOptions>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup and DR Service v1beta API class RestoreDiskFromInstanceOptions.

Options for creating a disk from a source Compute Instance backup.

Inheritance

object > RestoreDiskFromInstanceOptions

Namespace

Google.Cloud.BackupDR.V1Beta

Assembly

Google.Cloud.BackupDR.V1Beta.dll

Constructors

RestoreDiskFromInstanceOptions()

public RestoreDiskFromInstanceOptions()

RestoreDiskFromInstanceOptions(RestoreDiskFromInstanceOptions)

public RestoreDiskFromInstanceOptions(RestoreDiskFromInstanceOptions other)
Parameter
Name Description
other RestoreDiskFromInstanceOptions

Properties

BootDisk

public bool BootDisk { get; set; }

Set to true to restore the boot disk from the instance backup. This field should only be set to true if selected.

Property Value
Type Description
bool

HasBootDisk

public bool HasBootDisk { get; }

Gets whether the "boot_disk" field is set

Property Value
Type Description
bool

HasSourceDeviceName

public bool HasSourceDeviceName { get; }

Gets whether the "source_device_name" field is set

Property Value
Type Description
bool

SourceDeviceName

public string SourceDeviceName { get; set; }

The device name of the disk to restore from the VM backup.

Property Value
Type Description
string

SourceDiskCase

public RestoreDiskFromInstanceOptions.SourceDiskOneofCase SourceDiskCase { get; }
Property Value
Type Description
RestoreDiskFromInstanceOptionsSourceDiskOneofCase