ProvidersOperationsExtensions.RegisterAsync 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.
Registers a subscription with a resource provider.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.Provider> RegisterAsync (this Microsoft.Azure.Management.ResourceManager.IProvidersOperations operations, string resourceProviderNamespace, Microsoft.Azure.Management.ResourceManager.Models.ProviderRegistrationRequest properties = default, System.Threading.CancellationToken cancellationToken = default);
static member RegisterAsync : Microsoft.Azure.Management.ResourceManager.IProvidersOperations * string * Microsoft.Azure.Management.ResourceManager.Models.ProviderRegistrationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.Provider>
<Extension()>
Public Function RegisterAsync (operations As IProvidersOperations, resourceProviderNamespace As String, Optional properties As ProviderRegistrationRequest = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET