Partager via


PartnerConfigurationResource.AuthorizePartnerAsync Méthode

Définition

Autorisez un partenaire unique par id immuable d’inscription de partenaire ou par nom de partenaire.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerConfigurations/default/authorizePartner
  • IdPartnerConfigurations_AuthorizePartner d’opération
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))

Paramètres

content
EventGridPartnerContent

Informations du partenaire à autoriser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à