marketplace_agreements
Creates, updates, deletes, gets or lists a marketplace_agreements
resource.
Overview
Name | marketplace_agreements |
Type | Resource |
Id | azure_extras.marketplace_ordering.marketplace_agreements |
Fields
- vw_marketplace_agreements
- marketplace_agreements
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | Resource name. |
accepted | text | field from the properties object |
license_text_link | text | field from the properties object |
marketplace_terms_link | text | field from the properties object |
offerId | text | field from the properties object |
offerType | text | field from the properties object |
plan | text | field from the properties object |
planId | text | field from the properties object |
privacy_policy_link | text | field from the properties object |
product | text | field from the properties object |
publisher | text | field from the properties object |
publisherId | text | field from the properties object |
retrieve_datetime | text | field from the properties object |
signature | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | Resource type. |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
properties | object | Agreement Terms definition |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | offerId, offerType, planId, publisherId, subscriptionId | Get marketplace terms. |
list | SELECT | subscriptionId | List marketplace agreements in the subscription. |
create | INSERT | offerId, offerType, planId, publisherId, subscriptionId | Save marketplace terms. |
cancel | EXEC | offerId, planId, publisherId, subscriptionId | Cancel marketplace terms. |
sign | EXEC | offerId, planId, publisherId, subscriptionId | Sign marketplace terms. |
SELECT
examples
List marketplace agreements in the subscription.
- vw_marketplace_agreements
- marketplace_agreements
SELECT
id,
name,
accepted,
license_text_link,
marketplace_terms_link,
offerId,
offerType,
plan,
planId,
privacy_policy_link,
product,
publisher,
publisherId,
retrieve_datetime,
signature,
subscriptionId,
system_data,
type
FROM azure_extras.marketplace_ordering.vw_marketplace_agreements
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure_extras.marketplace_ordering.marketplace_agreements
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new marketplace_agreements
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.marketplace_ordering.marketplace_agreements (
offerId,
offerType,
planId,
publisherId,
subscriptionId,
properties
)
SELECT
'{{ offerId }}',
'{{ offerType }}',
'{{ planId }}',
'{{ publisherId }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: publisher
value: string
- name: product
value: string
- name: plan
value: string
- name: licenseTextLink
value: string
- name: privacyPolicyLink
value: string
- name: marketplaceTermsLink
value: string
- name: retrieveDatetime
value: string
- name: signature
value: string
- name: accepted
value: boolean
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string