次の方法で共有


ComputeBatchModelFactory.ManagedDisk Method

Definition

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.

Applies to