DatadogExtensions.CreateOrUpdateMarketplaceAgreement 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. <item> Mocking. To mock this method, please mock CreateOrUpdateMarketplaceAgreement(DatadogAgreement, CancellationToken) instead. </item>
public static Azure.Response<Azure.ResourceManager.Datadog.Models.DatadogAgreement> CreateOrUpdateMarketplaceAgreement(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Datadog.Models.DatadogAgreement body = default, System.Threading.CancellationToken cancellationToken = default);
public static Azure.Response<Azure.ResourceManager.Datadog.Models.DatadogAgreement> CreateOrUpdateMarketplaceAgreement(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Datadog.Models.DatadogAgreement body, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateMarketplaceAgreement : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Datadog.Models.DatadogAgreement * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Datadog.Models.DatadogAgreement>
<Extension()>
Public Function CreateOrUpdateMarketplaceAgreement (subscriptionResource As SubscriptionResource, Optional body As DatadogAgreement = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DatadogAgreement)
<Extension()>
Public Function CreateOrUpdateMarketplaceAgreement (subscriptionResource As SubscriptionResource, body As DatadogAgreement, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DatadogAgreement)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- body
- DatadogAgreement
The request body.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
subscriptionResource is null.