ResourceIdUtility.GetResourceCollectionId Method
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.
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
- 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}'