Skip to main content

operations

Creates, updates, deletes, gets or lists an operations resource.

Overview

Nameoperations
TypeResource
Idazure_extras.marketplace.operations

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
idstringOperation ID
namestringOperation name: {provider}/{resource}/{operation}
displayobjectThe object that represents the operation.
isDataActionbooleanIndicates whether the operation is a data action
originstringOrigin of the operation
propertiesobjectProperties of the operation

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectLists all of the available Microsoft.Marketplace REST API operations.
query_user_rulesexecprivateStoreIdAll rules approved in the private store that are relevant for user subscriptions
set_collection_rulesexecprivateStoreId, collectionIdSet rule for specific private store and collection
query_rulesexecprivateStoreId, collectionIdGet a list of all private store rules in the given private store and collection

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
collectionIdstringThe collection ID
privateStoreIdstringThe store ID - must use the tenant ID

SELECT examples

Lists all of the available Microsoft.Marketplace REST API operations.

SELECT
id,
name,
display,
isDataAction,
origin,
properties
FROM azure_extras.marketplace.operations
;

Lifecycle Methods

All rules approved in the private store that are relevant for user subscriptions

EXEC azure_extras.marketplace.operations.query_user_rules 
@privateStoreId='{{ privateStoreId }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;