operations
Creates, updates, deletes, gets or lists a operations
resource.
Overview
Name | operations |
Type | Resource |
Id | azure.provider_hub.operations |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Name of the operation. |
actionType | string | |
display | object | Display information of the operation. |
isDataAction | boolean | Indicates whether the operation applies to data-plane. |
origin | string | |
properties | `` |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT |
| Lists all the operations supported by Microsoft.ProviderHub. |
create_or_update | INSERT | providerNamespace, subscriptionId, data__contents | Creates or updates the operation supported by the given provider. |
delete | DELETE | providerNamespace, subscriptionId | Deletes an operation. |
checkin_manifest | EXEC | providerNamespace, subscriptionId, data__baselineArmManifestLocation, data__environment | Checkin the manifest. |
generate_manifest | EXEC | providerNamespace, subscriptionId | Generates the manifest for the given provider. |
list_by_provider_registration | EXEC | providerNamespace, subscriptionId | Gets the operations supported by the given provider. |
SELECT
examples
Lists all the operations supported by Microsoft.ProviderHub.
SELECT
name,
actionType,
display,
isDataAction,
origin,
properties
FROM azure.provider_hub.operations
;
INSERT
example
Use the following StackQL query and manifest file to create a new operations
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.provider_hub.operations (
providerNamespace,
subscriptionId,
data__contents,
contents
)
SELECT
'{{ providerNamespace }}',
'{{ subscriptionId }}',
'{{ data__contents }}',
'{{ contents }}'
;
- name: your_resource_model_name
props:
- name: contents
value:
- - name: name
value: string
- name: isDataAction
value: boolean
- name: origin
value: string
- name: display
value: string
- name: actionType
value: string
- name: properties
value: string
DELETE
example
Deletes the specified operations
resource.
/*+ delete */
DELETE FROM azure.provider_hub.operations
WHERE providerNamespace = '{{ providerNamespace }}'
AND subscriptionId = '{{ subscriptionId }}';