共用方式為


PartnerConfigurationsOperationsExtensions.AuthorizePartnerAsync Method

Definition

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