共用方式為


ProvidersOperationsExtensions.RegisterAtManagementGroupScopeAsync Method

Definition

Registers a management group with a resource provider.

public static System.Threading.Tasks.Task RegisterAtManagementGroupScopeAsync (this Microsoft.Azure.Management.ResourceManager.Fluent.IProvidersOperations operations, string resourceProviderNamespace, string groupId, System.Threading.CancellationToken cancellationToken = default);
static member RegisterAtManagementGroupScopeAsync : Microsoft.Azure.Management.ResourceManager.Fluent.IProvidersOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RegisterAtManagementGroupScopeAsync (operations As IProvidersOperations, resourceProviderNamespace As String, groupId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IProvidersOperations

The operations group for this extension method.

resourceProviderNamespace
String

The namespace of the resource provider to register.

groupId
String

The management group ID.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to