Condividi tramite


VirtualMachineResource.CreateResourceIdentifier Method

Definition

Generate the resource identifier of a VirtualMachineResource instance.

public static Azure.Core.ResourceIdentifier CreateResourceIdentifier (string subscriptionId, string resourceGroupName, string vmName);
static member CreateResourceIdentifier : string * string * string -> Azure.Core.ResourceIdentifier
Public Shared Function CreateResourceIdentifier (subscriptionId As String, resourceGroupName As String, vmName As String) As ResourceIdentifier

Parameters

subscriptionId
String

The subscriptionId.

resourceGroupName
String

The resourceGroupName.

vmName
String

The vmName.

Returns

Applies to