Share via


MockableConfluentSubscriptionResource.CreateMarketplaceAgreementAsync Method

Definition

Create Confluent Marketplace agreement in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements/default
  • Operation Id: MarketplaceAgreements_Create
  • Default Api Version: 2024-02-13
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.Models.ConfluentAgreement>> CreateMarketplaceAgreementAsync (Azure.ResourceManager.Confluent.Models.ConfluentAgreement body = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateMarketplaceAgreementAsync : Azure.ResourceManager.Confluent.Models.ConfluentAgreement * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.Models.ConfluentAgreement>>
override this.CreateMarketplaceAgreementAsync : Azure.ResourceManager.Confluent.Models.ConfluentAgreement * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.Models.ConfluentAgreement>>
Public Overridable Function CreateMarketplaceAgreementAsync (Optional body As ConfluentAgreement = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConfluentAgreement))

Parameters

body
ConfluentAgreement

Confluent Marketplace Agreement resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to