ResourceIdUtility.GetResourceGroupName(String) Method

Definition

Gets the name of the resource group from the resource id.

public static string GetResourceGroupName (string resourceId);
static member GetResourceGroupName : string -> string
Public Shared Function GetResourceGroupName (resourceId As String) As String

Parameters

resourceId
String

The resource id.

Returns

Applies to