Delen via


IWithDiskSource<ParentT>.WithExistingVhd(String, String, String) Method

Definition

Specifies the existing source VHD of the disk.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineUnmanagedDataDisk.Definition.IWithVhdAttachedDiskSettings<ParentT> WithExistingVhd (string storageAccountName, string containerName, string vhdName);
abstract member WithExistingVhd : string * string * string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineUnmanagedDataDisk.Definition.IWithVhdAttachedDiskSettings<'ParentT>
Public Function WithExistingVhd (storageAccountName As String, containerName As String, vhdName As String) As IWithVhdAttachedDiskSettings(Of ParentT)

Parameters

storageAccountName
String

The storage account name.

containerName
String

The name of the container holding VHD file.

vhdName
String

The name of the VHD file to attach.

Returns

Applies to