public sealed class DiskRestoreProperties : IMessage<DiskRestoreProperties>, IEquatable<DiskRestoreProperties>, IDeepCloneable<DiskRestoreProperties>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class DiskRestoreProperties.
DiskRestoreProperties represents the properties of a Disk restore.
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
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Backup and DR Service v1 API - Class DiskRestoreProperties (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.DiskRestoreProperties)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.1.0/Google.Cloud.BackupDR.V1.DiskRestoreProperties)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.0.0/Google.Cloud.BackupDR.V1.DiskRestoreProperties)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.2.0/Google.Cloud.BackupDR.V1.DiskRestoreProperties)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.1.0/Google.Cloud.BackupDR.V1.DiskRestoreProperties)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.0.0-beta02/Google.Cloud.BackupDR.V1.DiskRestoreProperties) \n\n public sealed class DiskRestoreProperties : IMessage\u003cDiskRestoreProperties\u003e, IEquatable\u003cDiskRestoreProperties\u003e, IDeepCloneable\u003cDiskRestoreProperties\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Backup and DR Service v1 API class DiskRestoreProperties.\n\nDiskRestoreProperties represents the properties of a Disk restore. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DiskRestoreProperties \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DiskRestoreProperties](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.DiskRestoreProperties), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DiskRestoreProperties](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.DiskRestoreProperties), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DiskRestoreProperties](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.DiskRestoreProperties), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BackupDR.V1](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.BackupDR.V1.dll\n\nConstructors\n------------\n\n### DiskRestoreProperties()\n\n public DiskRestoreProperties()\n\n### DiskRestoreProperties(DiskRestoreProperties)\n\n public DiskRestoreProperties(DiskRestoreProperties other)\n\nProperties\n----------\n\n### AccessMode\n\n public DiskRestoreProperties.Types.AccessMode AccessMode { get; set; }\n\nOptional. The access mode of the disk.\n\n### Architecture\n\n public DiskRestoreProperties.Types.Architecture Architecture { get; set; }\n\nOptional. The architecture of the source disk. Valid values are\nARM64 or X86_64.\n\n### Description\n\n public string Description { get; set; }\n\nOptional. An optional description of this resource. Provide this property\nwhen you create the resource.\n\n### DiskEncryptionKey\n\n public CustomerEncryptionKey DiskEncryptionKey { get; set; }\n\nOptional. Encrypts the disk using a\ncustomer-supplied encryption key or a customer-managed encryption key.\n\n### EnableConfidentialCompute\n\n public bool EnableConfidentialCompute { get; set; }\n\nOptional. Indicates whether this disk is using confidential compute mode.\nEncryption with a Cloud KMS key is required to enable this option.\n\n### GuestOsFeature\n\n public RepeatedField\u003cGuestOsFeature\u003e GuestOsFeature { get; }\n\nOptional. A list of features to enable in the guest operating system. This\nis applicable only for bootable images.\n\n### HasAccessMode\n\n public bool HasAccessMode { get; }\n\nGets whether the \"access_mode\" field is set\n\n### HasArchitecture\n\n public bool HasArchitecture { get; }\n\nGets whether the \"architecture\" field is set\n\n### HasDescription\n\n public bool HasDescription { get; }\n\nGets whether the \"description\" field is set\n\n### HasEnableConfidentialCompute\n\n public bool HasEnableConfidentialCompute { get; }\n\nGets whether the \"enable_confidential_compute\" field is set\n\n### HasName\n\n public bool HasName { get; }\n\nGets whether the \"name\" field is set\n\n### HasPhysicalBlockSizeBytes\n\n public bool HasPhysicalBlockSizeBytes { get; }\n\nGets whether the \"physical_block_size_bytes\" field is set\n\n### HasProvisionedIops\n\n public bool HasProvisionedIops { get; }\n\nGets whether the \"provisioned_iops\" field is set\n\n### HasProvisionedThroughput\n\n public bool HasProvisionedThroughput { get; }\n\nGets whether the \"provisioned_throughput\" field is set\n\n### HasSizeGb\n\n public bool HasSizeGb { get; }\n\nGets whether the \"size_gb\" field is set\n\n### HasStoragePool\n\n public bool HasStoragePool { get; }\n\nGets whether the \"storage_pool\" field is set\n\n### HasType\n\n public bool HasType { get; }\n\nGets whether the \"type\" field is set\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nOptional. Labels to apply to this disk. These can be modified later using\n\\\u003ccode\\\u003esetLabels\\\u003c/code\\\u003e method. Label values can be empty.\n\n### Licenses\n\n public RepeatedField\u003cstring\u003e Licenses { get; }\n\nOptional. A list of publicly available licenses that are applicable to this\nbackup. This is applicable if the original image had licenses attached,\ne.g. Windows image\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Name of the disk.\n\n### PhysicalBlockSizeBytes\n\n public long PhysicalBlockSizeBytes { get; set; }\n\nOptional. Physical block size of the persistent disk, in bytes.\nIf not present in a request, a default value is used.\nCurrently, the supported size is 4096.\n\n### ProvisionedIops\n\n public long ProvisionedIops { get; set; }\n\nOptional. Indicates how many IOPS to provision for the disk. This sets the\nnumber of I/O operations per second that the disk can handle.\n\n### ProvisionedThroughput\n\n public long ProvisionedThroughput { get; set; }\n\nOptional. Indicates how much throughput to provision for the disk. This\nsets the number of throughput MB per second that the disk can handle.\n\n### ResourceManagerTags\n\n public MapField\u003cstring, string\u003e ResourceManagerTags { get; }\n\nOptional. Resource manager tags to be bound to the disk.\n\n### ResourcePolicy\n\n public RepeatedField\u003cstring\u003e ResourcePolicy { get; }\n\nOptional. Resource policies applied to this disk.\n\n### SizeGb\n\n public long SizeGb { get; set; }\n\nRequired. The size of the disk in GB.\n\n### StoragePool\n\n public string StoragePool { get; set; }\n\nOptional. The storage pool in which the new disk is created. You can\nprovide this as a partial or full URL to the resource.\n\n### StoragePoolAsStoragePoolName\n\n public StoragePoolName StoragePoolAsStoragePoolName { get; set; }\n\n[StoragePoolName](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.StoragePoolName)-typed view over the [StoragePool](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.DiskRestoreProperties#Google_Cloud_BackupDR_V1_DiskRestoreProperties_StoragePool) resource name property.\n\n### Type\n\n public string Type { get; set; }\n\nRequired. URL of the disk type resource describing which disk type to use\nto create the disk."]]