IWithUnmanagedDataDisk.WithExistingUnmanagedDataDisk(String, String, String) Method

Definition

Attaches an existing unmanaged VHD as a data disk to the virtual machine.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithUnmanagedCreate WithExistingUnmanagedDataDisk (string storageAccountName, string containerName, string vhdName);
abstract member WithExistingUnmanagedDataDisk : string * string * string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithUnmanagedCreate
Public Function WithExistingUnmanagedDataDisk (storageAccountName As String, containerName As String, vhdName As String) As IWithUnmanagedCreate

Parameters

storageAccountName
System.String

A storage account name.

containerName
System.String

The name of the container holding the VHD file.

vhdName
System.String

The name for the VHD file.

Returns

IWithUnmanagedCreate

Applies to