Dela via


ProvidersOperationsExtensions.Register Method

Definition

Registers a subscription with a resource provider.

public static Microsoft.Azure.Management.ResourceManager.Models.Provider Register (this Microsoft.Azure.Management.ResourceManager.IProvidersOperations operations, string resourceProviderNamespace, Microsoft.Azure.Management.ResourceManager.Models.ProviderRegistrationRequest properties = default);
static member Register : Microsoft.Azure.Management.ResourceManager.IProvidersOperations * string * Microsoft.Azure.Management.ResourceManager.Models.ProviderRegistrationRequest -> Microsoft.Azure.Management.ResourceManager.Models.Provider
<Extension()>
Public Function Register (operations As IProvidersOperations, resourceProviderNamespace As String, Optional properties As ProviderRegistrationRequest = Nothing) As Provider

Parameters

operations
IProvidersOperations

The operations group for this extension method.

resourceProviderNamespace
String

The namespace of the resource provider to register.

properties
ProviderRegistrationRequest

The third party consent for S2S.

Returns

Applies to