Dela via


IWithUnmanagedDataDisk.WithExistingUnmanagedDataDisk Method

Definition

Specifies an existing VHD that needs to be attached to the virtual machine as data disk.

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

Parameters

storageAccountName
String

The 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