Dela via


MockableDatadogSubscriptionResource.CreateOrUpdateMarketplaceAgreementAsync Method

Definition

Create Datadog marketplace agreement in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Datadog/agreements/default
  • Operation Id: MarketplaceAgreements_CreateOrUpdate
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Datadog.Models.DatadogAgreementResourceProperties>> CreateOrUpdateMarketplaceAgreementAsync (Azure.ResourceManager.Datadog.Models.DatadogAgreementResourceProperties body = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateMarketplaceAgreementAsync : Azure.ResourceManager.Datadog.Models.DatadogAgreementResourceProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Datadog.Models.DatadogAgreementResourceProperties>>
override this.CreateOrUpdateMarketplaceAgreementAsync : Azure.ResourceManager.Datadog.Models.DatadogAgreementResourceProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Datadog.Models.DatadogAgreementResourceProperties>>
Public Overridable Function CreateOrUpdateMarketplaceAgreementAsync (Optional body As DatadogAgreementResourceProperties = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DatadogAgreementResourceProperties))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to