Partilhar via


PartnerConfigurationResource.AuthorizePartnerAsync Método

Definição

Autorize um único parceiro por ID imutável de registro de parceiro ou pelo nome do parceiro.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerConfigurations/default/authorizePartner
  • Operação IdPartnerConfigurations_AuthorizePartner
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerConfigurationResource>> AuthorizePartnerAsync (Azure.ResourceManager.EventGrid.Models.EventGridPartnerContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member AuthorizePartnerAsync : Azure.ResourceManager.EventGrid.Models.EventGridPartnerContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerConfigurationResource>>
override this.AuthorizePartnerAsync : Azure.ResourceManager.EventGrid.Models.EventGridPartnerContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerConfigurationResource>>
Public Overridable Function AuthorizePartnerAsync (content As EventGridPartnerContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PartnerConfigurationResource))

Parâmetros

content
EventGridPartnerContent

As informações do parceiro a ser autorizado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a