Partilhar via


DatadogExtensions.CreateOrUpdateMarketplaceAgreementAsync Método

Definição

Crie um contrato do Marketplace do Datadog na assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Datadog/agreements/default
  • IdMarketplaceAgreements_CreateOrUpdate de operação
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))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

body
DatadogAgreementResource

O DatadogAgreementResource a ser usado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a