Partager via


DatadogExtensions.CreateOrUpdateMarketplaceAgreementAsync Méthode

Définition

Créez un contrat de place de marché Datadog dans l’abonnement.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.Datadog/agreements/default
  • IdMarketplaceAgreements_CreateOrUpdate d’opération
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))

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

body
DatadogAgreementResource

DatadogAgreementResource à utiliser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à