workflows
Creates, updates, deletes, gets or lists a workflows
resource.
Overview
Name | workflows |
Type | Resource |
Id | azure_extras.developer_hub.workflows |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Properties of a workflow. |
tags | object | Resource tags. |
Describe the result of a successful operation.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Properties of a workflow. |
tags | object | Resource tags. |
Describe the result of a successful operation.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Properties of a workflow. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , workflowName | ||
list_by_resource_group | select | subscriptionId , resourceGroupName | managedClusterResource | |
list | select | subscriptionId | ||
create_or_update | insert | subscriptionId , resourceGroupName , workflowName | ||
delete | delete | subscriptionId , resourceGroupName , workflowName | ||
update_tags | exec | subscriptionId , resourceGroupName , workflowName |
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 |
---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
workflowName | string | The name of the workflow resource. |
managedClusterResource | string | The ManagedCluster resource associated with the workflows. |
SELECT
examples
- get
- list_by_resource_group
- list
OK
SELECT
location,
properties,
tags
FROM azure_extras.developer_hub.workflows
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workflowName = '{{ workflowName }}' -- required
;
Describe the result of a successful operation.
SELECT
location,
properties,
tags
FROM azure_extras.developer_hub.workflows
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND managedClusterResource = '{{ managedClusterResource }}'
;
Describe the result of a successful operation.
SELECT
location,
properties,
tags
FROM azure_extras.developer_hub.workflows
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
No description available.
INSERT INTO azure_extras.developer_hub.workflows (
data__tags,
data__location,
data__properties,
subscriptionId,
resourceGroupName,
workflowName
)
SELECT
'{{ tags }}',
'{{ location }}',
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ workflowName }}'
RETURNING
location,
properties,
tags
;
# Description fields are for documentation purposes
- name: workflows
props:
- name: subscriptionId
value: string (uuid)
description: Required parameter for the workflows resource.
- name: resourceGroupName
value: string
description: Required parameter for the workflows resource.
- name: workflowName
value: string
description: Required parameter for the workflows resource.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
- name: properties
value: object
description: |
Properties of a workflow.
DELETE
examples
- delete
No description available.
DELETE FROM azure_extras.developer_hub.workflows
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND workflowName = '{{ workflowName }}' --required
;
Lifecycle Methods
- update_tags
OK
EXEC azure_extras.developer_hub.workflows.update_tags
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@workflowName='{{ workflowName }}' --required
@@json=
'{
"tags": "{{ tags }}"
}'
;