ArmComputeModelFactory.DataDisksToDetach 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET