MockableDatadogSubscriptionResource.CreateOrUpdateMarketplaceAgreementAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The DatadogAgreementResourceProperties to use.
- cancellationToken
- CancellationToken
The cancellation token to use.