private_store_admin_request_approvals
Creates, updates, deletes, gets or lists a private_store_admin_request_approvals resource.
Overview
| Name | private_store_admin_request_approvals |
| Type | Resource |
| Id | azure_extras.marketplace.private_store_admin_request_approvals |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | The resource ID. |
name | string | The name of the resource. |
properties | object | The privateStore admin Approval request data structure. |
systemData | object | Metadata pertaining to creation and last modification of the resource |
type | string | The type of the resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | privateStoreId, adminRequestApprovalId, publisherId | Get open approval requests | |
update | replace | privateStoreId, adminRequestApprovalId | Update the admin action, weather the request is approved or rejected and the approved plans |
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.
| Name | Datatype | Description |
|---|---|---|
adminRequestApprovalId | string | The admin request approval ID to get create or update |
privateStoreId | string | The store ID - must use the tenant ID |
publisherId | string | The publisher id of this offer. |
SELECT examples
- get
Get open approval requests
SELECT
id,
name,
properties,
systemData,
type
FROM azure_extras.marketplace.private_store_admin_request_approvals
WHERE privateStoreId = '{{ privateStoreId }}' -- required
AND adminRequestApprovalId = '{{ adminRequestApprovalId }}' -- required
AND publisherId = '{{ publisherId }}' -- required
;
REPLACE examples
- update
Update the admin action, weather the request is approved or rejected and the approved plans
REPLACE azure_extras.marketplace.private_store_admin_request_approvals
SET
data__properties = '{{ properties }}'
WHERE
privateStoreId = '{{ privateStoreId }}' --required
AND adminRequestApprovalId = '{{ adminRequestApprovalId }}' --required
RETURNING
id,
name,
properties,
systemData,
type;