ComputeBatchModelFactory.ManagedDisk Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The managed disk parameters.
public static Azure.Compute.Batch.ManagedDisk ManagedDisk(Azure.Compute.Batch.DiskEncryptionSetParameters diskEncryptionSet = default, Azure.Compute.Batch.StorageAccountType? storageAccountType = default, Azure.Compute.Batch.BatchVmDiskSecurityProfile securityProfile = default);
static member ManagedDisk : Azure.Compute.Batch.DiskEncryptionSetParameters * Nullable<Azure.Compute.Batch.StorageAccountType> * Azure.Compute.Batch.BatchVmDiskSecurityProfile -> Azure.Compute.Batch.ManagedDisk
Public Shared Function ManagedDisk (Optional diskEncryptionSet As DiskEncryptionSetParameters = Nothing, Optional storageAccountType As Nullable(Of StorageAccountType) = Nothing, Optional securityProfile As BatchVmDiskSecurityProfile = Nothing) As ManagedDisk
Parameters
- diskEncryptionSet
- DiskEncryptionSetParameters
Specifies the customer managed disk encryption set resource id for the managed disk. It can be set only in UserSubscription mode.
- storageAccountType
- Nullable<StorageAccountType>
The storage account type for managed disk.
- securityProfile
- BatchVmDiskSecurityProfile
Specifies the security profile settings for the managed disk.
Returns
A new ManagedDisk instance for mocking.