| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System.Collections.Generic; |
| | 9 | |
|
| | 10 | | namespace Azure.ResourceManager.Compute.Models |
| | 11 | | { |
| | 12 | | /// <summary> Disk update resource. </summary> |
| | 13 | | public partial class DiskUpdate |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of DiskUpdate. </summary> |
| 12 | 16 | | public DiskUpdate() |
| | 17 | | { |
| 12 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of DiskUpdate. </summary> |
| | 21 | | /// <param name="tags"> Resource tags. </param> |
| | 22 | | /// <param name="sku"> The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS. < |
| | 23 | | /// <param name="osType"> the Operating System type. </param> |
| | 24 | | /// <param name="diskSizeGB"> If creationData.createOption is Empty, this field is mandatory and it indicates th |
| | 25 | | /// <param name="encryptionSettingsCollection"> Encryption settings collection used be Azure Disk Encryption, ca |
| | 26 | | /// <param name="diskIopsReadWrite"> The number of IOPS allowed for this disk; only settable for UltraSSD disks. |
| | 27 | | /// <param name="diskMBpsReadWrite"> The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps |
| | 28 | | /// <param name="diskIopsReadOnly"> The total number of IOPS that will be allowed across all VMs mounting the sh |
| | 29 | | /// <param name="diskMBpsReadOnly"> The total throughput (MBps) that will be allowed across all VMs mounting the |
| | 30 | | /// <param name="maxShares"> The maximum number of VMs that can attach to the disk at the same time. Value great |
| | 31 | | /// <param name="encryption"> Encryption property can be used to encrypt data at rest with customer managed keys |
| 0 | 32 | | internal DiskUpdate(IDictionary<string, string> tags, DiskSku sku, OperatingSystemTypes? osType, int? diskSizeGB |
| | 33 | | { |
| 0 | 34 | | Tags = tags; |
| 0 | 35 | | Sku = sku; |
| 0 | 36 | | OsType = osType; |
| 0 | 37 | | DiskSizeGB = diskSizeGB; |
| 0 | 38 | | EncryptionSettingsCollection = encryptionSettingsCollection; |
| 0 | 39 | | DiskIopsReadWrite = diskIopsReadWrite; |
| 0 | 40 | | DiskMBpsReadWrite = diskMBpsReadWrite; |
| 0 | 41 | | DiskIopsReadOnly = diskIopsReadOnly; |
| 0 | 42 | | DiskMBpsReadOnly = diskMBpsReadOnly; |
| 0 | 43 | | MaxShares = maxShares; |
| 0 | 44 | | Encryption = encryption; |
| 0 | 45 | | } |
| | 46 | |
|
| | 47 | | /// <summary> Resource tags. </summary> |
| 60 | 48 | | public IDictionary<string, string> Tags { get; set; } |
| | 49 | | /// <summary> The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS. </summary> |
| 36 | 50 | | public DiskSku Sku { get; set; } |
| | 51 | | /// <summary> the Operating System type. </summary> |
| 0 | 52 | | public OperatingSystemTypes? OsType { get; set; } |
| | 53 | | /// <summary> If creationData.createOption is Empty, this field is mandatory and it indicates the size of the di |
| 0 | 54 | | public int? DiskSizeGB { get; set; } |
| | 55 | | /// <summary> Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption sett |
| 0 | 56 | | public EncryptionSettingsCollection EncryptionSettingsCollection { get; set; } |
| | 57 | | /// <summary> The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can tran |
| 44 | 58 | | public long? DiskIopsReadWrite { get; set; } |
| | 59 | | /// <summary> The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of byte |
| 44 | 60 | | public long? DiskMBpsReadWrite { get; set; } |
| | 61 | | /// <summary> The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. |
| 0 | 62 | | public long? DiskIopsReadOnly { get; set; } |
| | 63 | | /// <summary> The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOn |
| 0 | 64 | | public long? DiskMBpsReadOnly { get; set; } |
| | 65 | | /// <summary> The maximum number of VMs that can attach to the disk at the same time. Value greater than one ind |
| 0 | 66 | | public int? MaxShares { get; set; } |
| | 67 | | /// <summary> Encryption property can be used to encrypt data at rest with customer managed keys or platform man |
| 0 | 68 | | public Encryption Encryption { get; set; } |
| | 69 | | } |
| | 70 | | } |