ManagedDisk Constructors

Definition

Overloads

ManagedDisk()

Default constructor to support mocking the ManagedDisk class.

ManagedDisk(Nullable<StorageAccountType>, VMDiskSecurityProfile)

Initializes a new instance of the ManagedDisk class.

ManagedDisk()

Source:
ManagedDisk.cs

Default constructor to support mocking the ManagedDisk class.

protected ManagedDisk ();
Protected Sub New ()

Applies to

ManagedDisk(Nullable<StorageAccountType>, VMDiskSecurityProfile)

Source:
ManagedDisk.cs

Initializes a new instance of the ManagedDisk class.

public ManagedDisk (Microsoft.Azure.Batch.Common.StorageAccountType? storageAccountType = default, Microsoft.Azure.Batch.VMDiskSecurityProfile securityProfile = default);
new Microsoft.Azure.Batch.ManagedDisk : Nullable<Microsoft.Azure.Batch.Common.StorageAccountType> * Microsoft.Azure.Batch.VMDiskSecurityProfile -> Microsoft.Azure.Batch.ManagedDisk
Public Sub New (Optional storageAccountType As Nullable(Of StorageAccountType) = Nothing, Optional securityProfile As VMDiskSecurityProfile = Nothing)

Parameters

storageAccountType
Nullable<StorageAccountType>

The Azure Storage account name.

securityProfile
VMDiskSecurityProfile

Gets or sets specifies the security profile settings for the managed disk.

Applies to