Skip to main content

operations

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

Overview

Nameoperations
TypeResource
Idazure_extras.saas.operations

Fields

The following fields are returned by SELECT queries:

Operation ended successfully. The request returns the updated SaaS resource.

NameDatatypeDescription
idstringThe resource uri
namestringThe name of the resource
propertiesobjectsaas resource properties
tagsobjectthe resource tags.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectoperationIdGets information about the specified operation progress.
listselectGets all SaaS app operations.
saas_resource_list_access_tokenexecresourceIdGets the ISV access token for a SaaS resource.

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
operationIdstringThe ID of an ongoing async operation.
resourceIdstringThe Saas resource ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)

SELECT examples

Gets information about the specified operation progress.

SELECT
id,
name,
properties,
tags,
type
FROM azure_extras.saas.operations
WHERE operationId = '{{ operationId }}' -- required
;

Lifecycle Methods

Gets the ISV access token for a SaaS resource.

EXEC azure_extras.saas.operations.saas_resource_list_access_token 
@resourceId='{{ resourceId }}' --required
;