Skip to main content

workflows

Creates, updates, deletes, gets or lists a workflows resource.

Overview

Nameworkflows
TypeResource
Idazure_extras.developer_hub.workflows

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectProperties of a workflow.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, workflowName
list_by_resource_groupselectsubscriptionId, resourceGroupNamemanagedClusterResource
listselectsubscriptionId
create_or_updateinsertsubscriptionId, resourceGroupName, workflowName
deletedeletesubscriptionId, resourceGroupName, workflowName
update_tagsexecsubscriptionId, 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.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
workflowNamestringThe name of the workflow resource.
managedClusterResourcestringThe ManagedCluster resource associated with the workflows.

SELECT examples

OK

SELECT
location,
properties,
tags
FROM azure_extras.developer_hub.workflows
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workflowName = '{{ workflowName }}' -- required
;

INSERT examples

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
;

DELETE examples

No description available.

DELETE FROM azure_extras.developer_hub.workflows
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND workflowName = '{{ workflowName }}' --required
;

Lifecycle Methods

OK

EXEC azure_extras.developer_hub.workflows.update_tags 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@workflowName='{{ workflowName }}' --required
@@json=
'{
"tags": "{{ tags }}"
}'
;