Freigeben über


MarketplaceAgreementCollection.ExistsAsync Methode

Definition

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/Abonnements/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}
  • Vorgangs-IdMarketplaceAgreements_GetAgreement
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string publisherId, string offerId, string planId, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (publisherId As String, offerId As String, planId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parameter

publisherId
String

Herausgeberbezeichnerzeichenfolge des bereitgestellten Images.

offerId
String

Angebotsbezeichnerzeichenfolge des bereitgestellten Images.

planId
String

Planbezeichnerzeichenfolge des bereitgestellten Images.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

publisherIdplanId oder offerId ist eine leere Zeichenfolge, die nicht leer sein sollte.

publisherId, offerId oder planId ist NULL.

Gilt für: