IWithUnmanagedDataDisk.WithExistingUnmanagedDataDisk 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
String

A storage account name.

containerName
String

The name of the container holding the VHD file.

vhdName
String

The name for the VHD file.

Returns

Applies to