共用方式為


AutoscaleResourceIdBuilder.BuildVirtualMachineResourceId Method

Definition

Builds the resource id of the virtual machine resource.

public static string BuildVirtualMachineResourceId (string cloudServiceName, string availabilitySetName);
static member BuildVirtualMachineResourceId : string * string -> string
Public Shared Function BuildVirtualMachineResourceId (cloudServiceName As String, availabilitySetName As String) As String

Parameters

cloudServiceName
String

The cloud service name.

availabilitySetName
String

The availability set name.

Returns

The resource id.

Applies to