Share via


ConfluentExtensions.CreateMarketplaceAgreement 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 static Azure.Response<Azure.ResourceManager.Confluent.Models.ConfluentAgreement> CreateMarketplaceAgreement (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Confluent.Models.ConfluentAgreement body = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateMarketplaceAgreement : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Confluent.Models.ConfluentAgreement * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Confluent.Models.ConfluentAgreement>
<Extension()>
Public Function CreateMarketplaceAgreement (subscriptionResource As SubscriptionResource, Optional body As ConfluentAgreement = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ConfluentAgreement)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

body
ConfluentAgreement

Confluent Marketplace Agreement resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource is null.

Applies to