/// <summary> /// Initializes a new instance of the ManagedDiskParameters class. /// </summary> /// <param name="id">Resource Id</param> /// <param name="storageAccountType">Specifies the storage account type /// for the managed disk. NOTE: UltraSSD_LRS can only be used with data /// disks, it cannot be used with OS Disk. Possible values include: /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', /// 'Premium_ZRS', 'StandardSSD_ZRS', 'PremiumV2_LRS'</param> /// <param name="diskEncryptionSet">Specifies the customer managed disk /// encryption set resource id for the managed disk.</param> /// <param name="securityProfile">Specifies the security profile for /// the managed disk.</param> public ManagedDiskParameters(string id = default(string), string storageAccountType = default(string), DiskEncryptionSetParameters diskEncryptionSet = default(DiskEncryptionSetParameters), VMDiskSecurityProfile securityProfile = default(VMDiskSecurityProfile)) : base(id) { StorageAccountType = storageAccountType; DiskEncryptionSet = diskEncryptionSet; SecurityProfile = securityProfile; CustomInit(); }
/// <summary> /// Initializes a new instance of the ImageDisk class. /// </summary> /// <param name="snapshot">The snapshot.</param> /// <param name="managedDisk">The managedDisk.</param> /// <param name="blobUri">The Virtual Hard Disk.</param> /// <param name="caching">Specifies the caching requirements. /// <br><br> Possible values are: <br><br> /// **None** <br><br> **ReadOnly** <br><br> /// **ReadWrite** <br><br> Default: **None for Standard /// storage. ReadOnly for Premium storage**. Possible values include: /// 'None', 'ReadOnly', 'ReadWrite'</param> /// <param name="diskSizeGB">Specifies the size of empty data disks in /// gigabytes. This element can be used to overwrite the name of the /// disk in a virtual machine image. <br><br> This value /// cannot be larger than 1023 GB</param> /// <param name="storageAccountType">Specifies the storage account type /// for the managed disk. NOTE: UltraSSD_LRS can only be used with data /// disks, it cannot be used with OS Disk. Possible values include: /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', /// 'Premium_ZRS', 'StandardSSD_ZRS'</param> /// <param name="diskEncryptionSet">Specifies the customer managed disk /// encryption set resource id for the managed image disk.</param> public ImageDisk(SubResource snapshot = default(SubResource), SubResource managedDisk = default(SubResource), string blobUri = default(string), CachingTypes?caching = default(CachingTypes?), int?diskSizeGB = default(int?), string storageAccountType = default(string), DiskEncryptionSetParameters diskEncryptionSet = default(DiskEncryptionSetParameters)) { Snapshot = snapshot; ManagedDisk = managedDisk; BlobUri = blobUri; Caching = caching; DiskSizeGB = diskSizeGB; StorageAccountType = storageAccountType; DiskEncryptionSet = diskEncryptionSet; CustomInit(); }
/// <summary> /// Initializes a new instance of the ImageOSDisk class. /// </summary> /// <param name="osType">This property allows you to specify the type /// of the OS that is included in the disk if creating a VM from a /// custom image. <br><br> Possible values are: /// <br><br> **Windows** <br><br> **Linux**. /// Possible values include: 'Windows', 'Linux'</param> /// <param name="osState">The OS State. Possible values include: /// 'Generalized', 'Specialized'</param> /// <param name="snapshot">The snapshot.</param> /// <param name="managedDisk">The managedDisk.</param> /// <param name="blobUri">The Virtual Hard Disk.</param> /// <param name="caching">Specifies the caching requirements. /// <br><br> Possible values are: <br><br> /// **None** <br><br> **ReadOnly** <br><br> /// **ReadWrite** <br><br> Default: **None for Standard /// storage. ReadOnly for Premium storage**. Possible values include: /// 'None', 'ReadOnly', 'ReadWrite'</param> /// <param name="diskSizeGB">Specifies the size of empty data disks in /// gigabytes. This element can be used to overwrite the name of the /// disk in a virtual machine image. <br><br> This value /// cannot be larger than 1023 GB</param> /// <param name="storageAccountType">Specifies the storage account type /// for the managed disk. NOTE: UltraSSD_LRS can only be used with data /// disks, it cannot be used with OS Disk. Possible values include: /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', /// 'Premium_ZRS', 'StandardSSD_ZRS', 'PremiumV2_LRS'</param> /// <param name="diskEncryptionSet">Specifies the customer managed disk /// encryption set resource id for the managed image disk.</param> public ImageOSDisk(OperatingSystemTypes osType, OperatingSystemStateTypes osState, SubResource snapshot = default(SubResource), SubResource managedDisk = default(SubResource), string blobUri = default(string), CachingTypes?caching = default(CachingTypes?), int?diskSizeGB = default(int?), string storageAccountType = default(string), DiskEncryptionSetParameters diskEncryptionSet = default(DiskEncryptionSetParameters)) : base(snapshot, managedDisk, blobUri, caching, diskSizeGB, storageAccountType, diskEncryptionSet) { OsType = osType; OsState = osState; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// VirtualMachineScaleSetManagedDiskParameters class. /// </summary> /// <param name="storageAccountType">Specifies the storage account type /// for the managed disk. NOTE: UltraSSD_LRS can only be used with data /// disks, it cannot be used with OS Disk. Possible values include: /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', /// 'Premium_ZRS', 'StandardSSD_ZRS', 'PremiumV2_LRS'</param> /// <param name="diskEncryptionSet">Specifies the customer managed disk /// encryption set resource id for the managed disk.</param> /// <param name="securityProfile">Specifies the security profile for /// the managed disk.</param> public VirtualMachineScaleSetManagedDiskParameters(string storageAccountType = default(string), DiskEncryptionSetParameters diskEncryptionSet = default(DiskEncryptionSetParameters), VMDiskSecurityProfile securityProfile = default(VMDiskSecurityProfile)) { StorageAccountType = storageAccountType; DiskEncryptionSet = diskEncryptionSet; SecurityProfile = securityProfile; CustomInit(); }
/// <summary> /// Initializes a new instance of the ImageDataDisk class. /// </summary> /// <param name="lun">Specifies the logical unit number of the data /// disk. This value is used to identify data disks within the VM and /// therefore must be unique for each data disk attached to a /// VM.</param> /// <param name="snapshot">The snapshot.</param> /// <param name="managedDisk">The managedDisk.</param> /// <param name="blobUri">The Virtual Hard Disk.</param> /// <param name="caching">Specifies the caching requirements. /// <br><br> Possible values are: <br><br> /// **None** <br><br> **ReadOnly** <br><br> /// **ReadWrite** <br><br> Default: **None for Standard /// storage. ReadOnly for Premium storage**. Possible values include: /// 'None', 'ReadOnly', 'ReadWrite'</param> /// <param name="diskSizeGB">Specifies the size of empty data disks in /// gigabytes. This element can be used to overwrite the name of the /// disk in a virtual machine image. <br><br> This value /// cannot be larger than 1023 GB</param> /// <param name="storageAccountType">Specifies the storage account type /// for the managed disk. NOTE: UltraSSD_LRS can only be used with data /// disks, it cannot be used with OS Disk. Possible values include: /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', /// 'Premium_ZRS', 'StandardSSD_ZRS', 'PremiumV2_LRS'</param> /// <param name="diskEncryptionSet">Specifies the customer managed disk /// encryption set resource id for the managed image disk.</param> public ImageDataDisk(int lun, SubResource snapshot = default(SubResource), SubResource managedDisk = default(SubResource), string blobUri = default(string), CachingTypes?caching = default(CachingTypes?), int?diskSizeGB = default(int?), string storageAccountType = default(string), DiskEncryptionSetParameters diskEncryptionSet = default(DiskEncryptionSetParameters)) : base(snapshot, managedDisk, blobUri, caching, diskSizeGB, storageAccountType, diskEncryptionSet) { Lun = lun; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// VirtualMachineScaleSetManagedDiskParameters class. /// </summary> /// <param name="storageAccountType">Specifies the storage account type /// for the managed disk. NOTE: UltraSSD_LRS can only be used with data /// disks, it cannot be used with OS Disk. Possible values include: /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', /// 'Premium_ZRS', 'StandardSSD_ZRS'</param> /// <param name="diskEncryptionSet">Specifies the customer managed disk /// encryption set resource id for the managed disk.</param> public VirtualMachineScaleSetManagedDiskParameters(string storageAccountType = default(string), DiskEncryptionSetParameters diskEncryptionSet = default(DiskEncryptionSetParameters)) { StorageAccountType = storageAccountType; DiskEncryptionSet = diskEncryptionSet; CustomInit(); }
/// <summary> /// Initializes a new instance of the ManagedDiskParameters class. /// </summary> /// <param name="id">Resource Id</param> /// <param name="storageAccountType">Specifies the storage account type /// for the managed disk. NOTE: UltraSSD_LRS can only be used with data /// disks, it cannot be used with OS Disk. Possible values include: /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', /// 'UltraSSD_LRS'</param> /// <param name="diskEncryptionSet">Specifies the customer managed disk /// encryption set resource id for the managed disk.</param> public ManagedDiskParameters(string id = default(string), string storageAccountType = default(string), DiskEncryptionSetParameters diskEncryptionSet = default(DiskEncryptionSetParameters)) : base(id) { StorageAccountType = storageAccountType; DiskEncryptionSet = diskEncryptionSet; CustomInit(); }
/// <summary> /// Initializes a new instance of the VMDiskSecurityProfile class. /// </summary> /// <param name="securityEncryptionType">Specifies the EncryptionType /// of the managed disk. <br> It is set to DiskWithVMGuestState /// for encryption of the managed disk along with VMGuestState blob, /// and VMGuestStateOnly for encryption of just the VMGuestState blob. /// <br><br> NOTE: It can be set for only Confidential VMs. /// Possible values include: 'VMGuestStateOnly', /// 'DiskWithVMGuestState'</param> /// <param name="diskEncryptionSet">Specifies the customer managed disk /// encryption set resource id for the managed disk that is used for /// Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest /// blob.</param> public VMDiskSecurityProfile(string securityEncryptionType = default(string), DiskEncryptionSetParameters diskEncryptionSet = default(DiskEncryptionSetParameters)) { SecurityEncryptionType = securityEncryptionType; DiskEncryptionSet = diskEncryptionSet; CustomInit(); }