Compartilhar via


VirtualMachineBaseCmdlet.GetResourceNameFromId Method

Definition

public static string GetResourceNameFromId (string resourceId, string resourceName, string instanceName = default, string version = default);
static member GetResourceNameFromId : string * string * string * string -> string
Public Shared Function GetResourceNameFromId (resourceId As String, resourceName As String, Optional instanceName As String = Nothing, Optional version As String = Nothing) As String

Parameters

resourceId
String
resourceName
String
instanceName
String
version
String

Returns

Applies to