Show / Hide Table of Contents

Class DiskRestoreProperties

DiskRestoreProperties represents the properties of a Disk restore.

Inheritance
object
DiskRestoreProperties
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Backupdr.v1.Data
Assembly: Google.Apis.Backupdr.v1.dll
Syntax
public class DiskRestoreProperties : IDirectResponseSchema

Properties

AccessMode

Optional. The access mode of the disk.

Declaration
[JsonProperty("accessMode")]
public virtual string AccessMode { get; set; }
Property Value
Type Description
string

Architecture

Optional. The architecture of the source disk. Valid values are ARM64 or X86_64.

Declaration
[JsonProperty("architecture")]
public virtual string Architecture { get; set; }
Property Value
Type Description
string

Description

Optional. An optional description of this resource. Provide this property when you create the resource.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

DiskEncryptionKey

Optional. Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key.

Declaration
[JsonProperty("diskEncryptionKey")]
public virtual CustomerEncryptionKey DiskEncryptionKey { get; set; }
Property Value
Type Description
CustomerEncryptionKey

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EnableConfidentialCompute

Optional. Indicates whether this disk is using confidential compute mode. Encryption with a Cloud KMS key is required to enable this option.

Declaration
[JsonProperty("enableConfidentialCompute")]
public virtual bool? EnableConfidentialCompute { get; set; }
Property Value
Type Description
bool?

GuestOsFeature

Optional. A list of features to enable in the guest operating system. This is applicable only for bootable images.

Declaration
[JsonProperty("guestOsFeature")]
public virtual IList<GuestOsFeature> GuestOsFeature { get; set; }
Property Value
Type Description
IList<GuestOsFeature>

Labels

Optional. Labels to apply to this disk. These can be modified later using setLabels method. Label values can be empty.

Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
IDictionary<string, string>

Licenses

Optional. 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

Declaration
[JsonProperty("licenses")]
public virtual IList<string> Licenses { get; set; }
Property Value
Type Description
IList<string>

Name

Required. Name of the disk..

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

PhysicalBlockSizeBytes

Optional. Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently, the supported size is 4096.

Declaration
[JsonProperty("physicalBlockSizeBytes")]
public virtual long? PhysicalBlockSizeBytes { get; set; }
Property Value
Type Description
long?

ProvisionedIops

Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.

Declaration
[JsonProperty("provisionedIops")]
public virtual long? ProvisionedIops { get; set; }
Property Value
Type Description
long?

ProvisionedThroughput

Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput MB per second that the disk can handle.

Declaration
[JsonProperty("provisionedThroughput")]
public virtual long? ProvisionedThroughput { get; set; }
Property Value
Type Description
long?

ResourceManagerTags

Optional. Resource manager tags to be bound to the disk.

Declaration
[JsonProperty("resourceManagerTags")]
public virtual IDictionary<string, string> ResourceManagerTags { get; set; }
Property Value
Type Description
IDictionary<string, string>

ResourcePolicy

Optional. Resource policies applied to this disk.

Declaration
[JsonProperty("resourcePolicy")]
public virtual IList<string> ResourcePolicy { get; set; }
Property Value
Type Description
IList<string>

SizeGb

Required. The size of the disk in GB.

Declaration
[JsonProperty("sizeGb")]
public virtual long? SizeGb { get; set; }
Property Value
Type Description
long?

StoragePool

Optional. The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource.

Declaration
[JsonProperty("storagePool")]
public virtual string StoragePool { get; set; }
Property Value
Type Description
string

Type

Required. URL of the disk type resource describing which disk type to use to create the disk.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX