次の方法で共有


ArmComputeModelFactory.DataDisksToDetach Method

Definition

Initializes a new instance of DataDisksToDetach.

public static Azure.ResourceManager.Compute.Models.DataDisksToDetach DataDisksToDetach (string diskId = default, Azure.ResourceManager.Compute.Models.DiskDetachOptionType? detachOption = default);
static member DataDisksToDetach : string * Nullable<Azure.ResourceManager.Compute.Models.DiskDetachOptionType> -> Azure.ResourceManager.Compute.Models.DataDisksToDetach
Public Shared Function DataDisksToDetach (Optional diskId As String = Nothing, Optional detachOption As Nullable(Of DiskDetachOptionType) = Nothing) As DataDisksToDetach

Parameters

diskId
String

ID of the managed data disk.

detachOption
Nullable<DiskDetachOptionType>

Supported options available for Detach of a disk from a VM. Refer to DetachOption object reference for more details.

Returns

A new DataDisksToDetach instance for mocking.

Applies to