ResourceIdHelper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |