共用方式為


ConfluentExtensions.GetMarketplaceAgreementsAsync Method

Definition

List Confluent marketplace agreements in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements
  • Operation Id: MarketplaceAgreements_List
  • Default Api Version: 2024-02-13
public static Azure.AsyncPageable<Azure.ResourceManager.Confluent.Models.ConfluentAgreement> GetMarketplaceAgreementsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMarketplaceAgreementsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Confluent.Models.ConfluentAgreement>
<Extension()>
Public Function GetMarketplaceAgreementsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ConfluentAgreement)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ConfluentAgreement that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to