共用方式為


ResourceIdentifier(String) Constructor

Definition

Initializes a new instance of the ResourceIdentifier class.

public ResourceIdentifier (string resourceId);
new Azure.Core.ResourceIdentifier : string -> Azure.Core.ResourceIdentifier
Public Sub New (resourceId As String)

Parameters

resourceId
String

The id string to create the ResourceIdentifier from.

Remarks

For more information on ResourceIdentifier format see the following. ResourceGroup level id https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-resource#resourceid Subscription level id https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-resource#subscriptionresourceid Tenant level id https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-resource#tenantresourceid Extension id https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-resource#extensionresourceid

Applies to