Skip to main content

marketplace_agreements

Creates, updates, deletes, gets or lists a marketplace_agreements resource.

Overview​

Namemarketplace_agreements
TypeResource
Idazure_isv.datadog.marketplace_agreements

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringARM id of the resource.
namestringName of the agreement.
acceptedbooleanIf any version of the terms have been accepted, otherwise false.
licenseTextLinkstringLink to HTML with Microsoft and Publisher terms.
planstringPlan identifier string.
privacyPolicyLinkstringLink to the privacy policy of the publisher.
productstringProduct identifier string.
publisherstringPublisher identifier string.
retrieveDatetimestring (date-time)Date and time in UTC of when the terms were accepted. This is empty if Accepted is false.
signaturestringTerms signature.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscription_idList Datadog marketplace agreements in the subscription. List Datadog marketplace agreements in the subscription.
create_or_updateinsertsubscription_idCreate Datadog marketplace agreement in the subscription. Create Datadog marketplace agreement in the subscription.
create_or_updatereplacesubscription_idCreate Datadog marketplace agreement in the subscription. Create Datadog marketplace agreement in the subscription.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
subscription_idstring

SELECT examples​

List Datadog marketplace agreements in the subscription. List Datadog marketplace agreements in the subscription.

SELECT
id,
name,
accepted,
licenseTextLink,
plan,
privacyPolicyLink,
product,
publisher,
retrieveDatetime,
signature,
systemData,
type
FROM azure_isv.datadog.marketplace_agreements
WHERE subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples​

Create Datadog marketplace agreement in the subscription. Create Datadog marketplace agreement in the subscription.

INSERT INTO azure_isv.datadog.marketplace_agreements (
properties,
subscription_id
)
SELECT
'{{ properties }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

REPLACE examples​

Create Datadog marketplace agreement in the subscription. Create Datadog marketplace agreement in the subscription.

REPLACE azure_isv.datadog.marketplace_agreements
SET
properties = '{{ properties }}'
WHERE
subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;