Megosztás a következőn keresztül:


ResourceIdHelper Class

Definition

Helper methods related to resource ID manipulation.

public class ResourceIdHelper
type ResourceIdHelper = class
Public Class ResourceIdHelper
Inheritance
ResourceIdHelper

Constructors

ResourceIdHelper()

Methods

GetManagementGroupScope(String)

Gets a management group scope.

GetResourceGroupScope(String, String)

Gets a resource group scope.

GetResourceName(String)

Gets the resource name of a specified type from a full resource ID.

GetRootScope(String, String)

Gets the segments of a resource ID that occur before a given fully qualified resource type. E.g. "/subscriptions/{subId}" for an input of "/subscriptions/{subId}/Microsoft.PolicyInsights/remediations/foo".

GetSubscriptionScope(String)

Gets a subscription scope

Applies to