-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
VirtualDisk.cs
80 lines (75 loc) · 4.09 KB
/
VirtualDisk.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.ArcScVmm.Models
{
/// <summary> Virtual disk model. </summary>
public partial class VirtualDisk
{
/// <summary> Initializes a new instance of VirtualDisk. </summary>
public VirtualDisk()
{
}
/// <summary> Initializes a new instance of VirtualDisk. </summary>
/// <param name="name"> Gets or sets the name of the disk. </param>
/// <param name="displayName"> Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set. </param>
/// <param name="diskId"> Gets or sets the disk id. </param>
/// <param name="diskSizeGB"> Gets or sets the disk total size. </param>
/// <param name="maxDiskSizeGB"> Gets or sets the max disk size. </param>
/// <param name="bus"> Gets or sets the disk bus. </param>
/// <param name="lun"> Gets or sets the disk lun. </param>
/// <param name="busType"> Gets or sets the disk bus type. </param>
/// <param name="vhdType"> Gets or sets the disk vhd type. </param>
/// <param name="volumeType"> Gets or sets the disk volume type. </param>
/// <param name="vhdFormatType"> Gets the disk vhd format type. </param>
/// <param name="templateDiskId"> Gets or sets the disk id in the template. </param>
/// <param name="storageQoSPolicy"> The QoS policy for the disk. </param>
/// <param name="createDiffDisk"> Gets or sets a value indicating diff disk. </param>
internal VirtualDisk(string name, string displayName, string diskId, int? diskSizeGB, int? maxDiskSizeGB, int? bus, int? lun, string busType, string vhdType, string volumeType, string vhdFormatType, string templateDiskId, StorageQoSPolicyDetails storageQoSPolicy, CreateDiffDisk? createDiffDisk)
{
Name = name;
DisplayName = displayName;
DiskId = diskId;
DiskSizeGB = diskSizeGB;
MaxDiskSizeGB = maxDiskSizeGB;
Bus = bus;
Lun = lun;
BusType = busType;
VhdType = vhdType;
VolumeType = volumeType;
VhdFormatType = vhdFormatType;
TemplateDiskId = templateDiskId;
StorageQoSPolicy = storageQoSPolicy;
CreateDiffDisk = createDiffDisk;
}
/// <summary> Gets or sets the name of the disk. </summary>
public string Name { get; set; }
/// <summary> Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set. </summary>
public string DisplayName { get; }
/// <summary> Gets or sets the disk id. </summary>
public string DiskId { get; set; }
/// <summary> Gets or sets the disk total size. </summary>
public int? DiskSizeGB { get; set; }
/// <summary> Gets or sets the max disk size. </summary>
public int? MaxDiskSizeGB { get; }
/// <summary> Gets or sets the disk bus. </summary>
public int? Bus { get; set; }
/// <summary> Gets or sets the disk lun. </summary>
public int? Lun { get; set; }
/// <summary> Gets or sets the disk bus type. </summary>
public string BusType { get; set; }
/// <summary> Gets or sets the disk vhd type. </summary>
public string VhdType { get; set; }
/// <summary> Gets or sets the disk volume type. </summary>
public string VolumeType { get; }
/// <summary> Gets the disk vhd format type. </summary>
public string VhdFormatType { get; }
/// <summary> Gets or sets the disk id in the template. </summary>
public string TemplateDiskId { get; set; }
/// <summary> The QoS policy for the disk. </summary>
public StorageQoSPolicyDetails StorageQoSPolicy { get; set; }
/// <summary> Gets or sets a value indicating diff disk. </summary>
public CreateDiffDisk? CreateDiffDisk { get; set; }
}
}