operations
Creates, updates, deletes, gets or lists an operations
resource.
Overview
Name | operations |
Type | Resource |
Id | azure_extras.saas.operations |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Operation ended successfully. The request returns the updated SaaS resource.
Name | Datatype | Description |
---|---|---|
id | string | The resource uri |
name | string | The name of the resource |
properties | object | saas resource properties |
tags | object | the resource tags. |
type | string | Resource type. |
Name | Datatype | Description |
---|---|---|
name | string | the operation name |
display | object | the operation display |
isDataAction | boolean | whether the operation is a data action or not. |
origin | string | the operation origin |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | operationId | Gets information about the specified operation progress. | |
list | select | Gets all SaaS app operations. | ||
saas_resource_list_access_token | exec | resourceId | Gets 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.
Name | Datatype | Description |
---|---|---|
operationId | string | The ID of an ongoing async operation. |
resourceId | string | The Saas resource ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000) |
SELECT
examples
- get
- list
Gets information about the specified operation progress.
SELECT
id,
name,
properties,
tags,
type
FROM azure_extras.saas.operations
WHERE operationId = '{{ operationId }}' -- required
;
Gets all SaaS app operations.
SELECT
name,
display,
isDataAction,
origin
FROM azure_extras.saas.operations
;
Lifecycle Methods
- saas_resource_list_access_token
Gets the ISV access token for a SaaS resource.
EXEC azure_extras.saas.operations.saas_resource_list_access_token
@resourceId='{{ resourceId }}' --required
;