Freigeben über


DatadogExtensions.CreateOrUpdateMarketplaceAgreementAsync Methode

Definition

Erstellen Sie eine Datadog Marketplace-Vereinbarung im Abonnement.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.Datadog/agreements/default
  • Vorgangs-IdMarketplaceAgreements_CreateOrUpdate
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Datadog.Models.DatadogAgreementResource>> CreateOrUpdateMarketplaceAgreementAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Datadog.Models.DatadogAgreementResource body = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateMarketplaceAgreementAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Datadog.Models.DatadogAgreementResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Datadog.Models.DatadogAgreementResource>>
<Extension()>
Public Function CreateOrUpdateMarketplaceAgreementAsync (subscriptionResource As SubscriptionResource, Optional body As DatadogAgreementResource = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DatadogAgreementResource))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

body
DatadogAgreementResource

Die zu verwendende DatadogAgreementResource.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: