Share via


EventGridExtensions.GetVerifiedPartnerAsync Method

Definition

Get properties of a verified partner.

  • Request Path: /providers/Microsoft.EventGrid/verifiedPartners/{verifiedPartnerName}
  • Operation Id: VerifiedPartners_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: VerifiedPartnerResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.VerifiedPartnerResource>> GetVerifiedPartnerAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string verifiedPartnerName, System.Threading.CancellationToken cancellationToken = default);
static member GetVerifiedPartnerAsync : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.VerifiedPartnerResource>>
<Extension()>
Public Function GetVerifiedPartnerAsync (tenantResource As TenantResource, verifiedPartnerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VerifiedPartnerResource))

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

verifiedPartnerName
String

Name of the verified partner.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource or verifiedPartnerName is null.

verifiedPartnerName is an empty string, and was expected to be non-empty.

Applies to