Partilhar via


PartnerConfigurationResource.AuthorizePartner 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 Azure.Response<Azure.ResourceManager.EventGrid.PartnerConfigurationResource> AuthorizePartner (Azure.ResourceManager.EventGrid.Models.EventGridPartnerContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member AuthorizePartner : Azure.ResourceManager.EventGrid.Models.EventGridPartnerContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.PartnerConfigurationResource>
override this.AuthorizePartner : Azure.ResourceManager.EventGrid.Models.EventGridPartnerContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.PartnerConfigurationResource>
Public Overridable Function AuthorizePartner (content As EventGridPartnerContent, Optional cancellationToken As CancellationToken = Nothing) As 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