Compartilhar via


ResourceIdUtility.GetResourceCollectionId Method

Definition

Processes the parameters to return a valid resource collection Id.

public static string GetResourceCollectionId (Guid? subscriptionId, string resourceGroupName, string resourceType, string extensionResourceType = default);
static member GetResourceCollectionId : Nullable<Guid> * string * string * string -> string
Public Shared Function GetResourceCollectionId (subscriptionId As Nullable(Of Guid), resourceGroupName As String, resourceType As String, Optional extensionResourceType As String = Nothing) As String

Parameters

subscriptionId
Nullable<Guid>

The subscription.

resourceGroupName
String

The resource group

resourceType
String

The resource type string in the format: '{providerName}/{typeName}/{nestedTypeName}'

extensionResourceType
String

The extension resource type string in the format: '{providerName}/{typeName}/{nestedTypeName}'

Returns

Applies to