PartnerConfigurationsOperationsExtensions.AuthorizePartnerAsync 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.
Authorize a partner.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PartnerConfiguration> AuthorizePartnerAsync (this Microsoft.Azure.Management.EventGrid.IPartnerConfigurationsOperations operations, string resourceGroupName, Microsoft.Azure.Management.EventGrid.Models.Partner partnerInfo, System.Threading.CancellationToken cancellationToken = default);
static member AuthorizePartnerAsync : Microsoft.Azure.Management.EventGrid.IPartnerConfigurationsOperations * string * Microsoft.Azure.Management.EventGrid.Models.Partner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PartnerConfiguration>
<Extension()>
Public Function AuthorizePartnerAsync (operations As IPartnerConfigurationsOperations, resourceGroupName As String, partnerInfo As Partner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PartnerConfiguration)
Parameters
- operations
- IPartnerConfigurationsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group within the user's subscription.
- partnerInfo
- Partner
The information of the partner to be authorized.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Authorize a single partner either by partner registration immutable Id or by partner name.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET