Share via


ManagedDiskParameters Constructors

Definition

Overloads

ManagedDiskParameters()

Initializes a new instance of the ManagedDiskParameters class.

ManagedDiskParameters(String, String, DiskEncryptionSetParameters, VMDiskSecurityProfile)

Initializes a new instance of the ManagedDiskParameters class.

ManagedDiskParameters()

Initializes a new instance of the ManagedDiskParameters class.

public ManagedDiskParameters ();
Public Sub New ()

Applies to

ManagedDiskParameters(String, String, DiskEncryptionSetParameters, VMDiskSecurityProfile)

Initializes a new instance of the ManagedDiskParameters class.

public ManagedDiskParameters (string id = default, string storageAccountType = default, Microsoft.Azure.Management.Compute.Models.DiskEncryptionSetParameters diskEncryptionSet = default, Microsoft.Azure.Management.Compute.Models.VMDiskSecurityProfile securityProfile = default);
new Microsoft.Azure.Management.Compute.Models.ManagedDiskParameters : string * string * Microsoft.Azure.Management.Compute.Models.DiskEncryptionSetParameters * Microsoft.Azure.Management.Compute.Models.VMDiskSecurityProfile -> Microsoft.Azure.Management.Compute.Models.ManagedDiskParameters
Public Sub New (Optional id As String = Nothing, Optional storageAccountType As String = Nothing, Optional diskEncryptionSet As DiskEncryptionSetParameters = Nothing, Optional securityProfile As VMDiskSecurityProfile = Nothing)

Parameters

id
String

Resource Id

storageAccountType
String

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'

diskEncryptionSet
DiskEncryptionSetParameters

Specifies the customer managed disk encryption set resource id for the managed disk.

securityProfile
VMDiskSecurityProfile

Specifies the security profile for the managed disk.

Applies to