Share via


PartnerConfigurationsOperationsExtensions.UnauthorizePartnerAsync Method

Definition

Unauthorize a partner.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PartnerConfiguration> UnauthorizePartnerAsync (this Microsoft.Azure.Management.EventGrid.IPartnerConfigurationsOperations operations, string resourceGroupName, Microsoft.Azure.Management.EventGrid.Models.Partner partnerInfo, System.Threading.CancellationToken cancellationToken = default);
static member UnauthorizePartnerAsync : 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 UnauthorizePartnerAsync (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 unauthorized.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Unauthorize a single partner either by partner registration immutable Id or by partner name.

Applies to