Exemple #1
0
 /// <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'</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();
 }
Exemple #2
0
 /// <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>
 /// <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();
 }