Share via


VirtualMachineResource.CreateResourceIdentifier Method

Definition

Generate the resource identifier of a VirtualMachineResource instance.

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

Parameters

subscriptionId
String
resourceGroupName
String
virtualMachineName
String

Returns

Applies to