ResourceIdUtility.GetResourceGroupId(String) Method

Definition

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

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

Parameters

resourceId
String

The resource id.

Returns

Applies to