Sdílet prostřednictvím


PartnerConfigurationResource.UnauthorizePartnerAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerConfigurations/default/unauthorizePartner
  • Operation Id: PartnerConfigurations_UnauthorizePartner
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerConfigurationResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerConfigurationResource>> UnauthorizePartnerAsync (Azure.ResourceManager.EventGrid.Models.EventGridPartnerContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UnauthorizePartnerAsync : Azure.ResourceManager.EventGrid.Models.EventGridPartnerContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerConfigurationResource>>
override this.UnauthorizePartnerAsync : Azure.ResourceManager.EventGrid.Models.EventGridPartnerContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerConfigurationResource>>
Public Overridable Function UnauthorizePartnerAsync (content As EventGridPartnerContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PartnerConfigurationResource))

Parameters

content
EventGridPartnerContent

The information of the partner to be unauthorized.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to