az logic workflow

Logic workflow.

Commands

az logic workflow create

Creates or updates a workflow using a JSON file for the defintion.

az logic workflow delete

Deletes a workflow.

az logic workflow list

Gets a list of workflows by subscription.

az logic workflow show

Gets a workflow.

az logic workflow update

Updates a workflow.

az logic workflow create

Creates or updates a workflow using a JSON file for the defintion.

az logic workflow create --definition
                         --location
                         --name
                         --resource-group
                         [--access-control]
                         [--endpoints-configuration]
                         [--integration-account]
                         [--integration-service-environment]
                         [--state {Completed, Deleted, Disabled, Enabled, NotSpecified, Suspended}]
                         [--tags]

Examples

Create or update a workflow

az logic workflow create --resource-group "test_resource_group" --location "centralus" --name "test_workflow" --definition "workflow.json"

Required Parameters

--definition

Path to a workflow defintion JSON file (see README.md for more info on this). This JSON format should match what the logic app design tool exports.

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--name -n

The workflow name.

--resource-group -g

The resource group name.

Optional Parameters

--access-control

The access control configuration controls access to this workflow. See README.md for more information.

--endpoints-configuration

The endpoints configuration.

--integration-account

The integration account.

--integration-service-environment

The integration service environment. See README.md For more information.

--state

The state.

accepted values: Completed, Deleted, Disabled, Enabled, NotSpecified, Suspended
--tags

The resource tags.

az logic workflow delete

Deletes a workflow.

az logic workflow delete --name
                         --resource-group
                         [--yes]

Examples

Delete a workflow

az logic workflow delete --resource-group "test_resource_group" --name "test_workflow"

Required Parameters

--name -n

The workflow name.

--resource-group -g

The resource group name.

Optional Parameters

--yes -y

Do not prompt for confirmation.

az logic workflow list

Gets a list of workflows by subscription.

az logic workflow list [--filter]
                       [--resource-group]
                       [--top]

Examples

List all workflows in a resource group

az logic workflow list --resource-group "test_resource_group"

List all workflows in a subscription

az logic workflow list

Optional Parameters

--filter

The filter to apply on the operation. Options for filters include: State, Trigger, and ReferencedResourceId.

--resource-group -g

The resource group name.

--top

The number of items to be included in the result.

az logic workflow show

Gets a workflow.

az logic workflow show --name
                       --resource-group

Examples

Get a workflow

az logic workflow show --resource-group "test_resource_group" --name "test_workflow"

Required Parameters

--name -n

The workflow name.

--resource-group -g

The resource group name.

az logic workflow update

Updates a workflow.

az logic workflow update --definition
                         --name
                         --resource-group
                         [--state {Completed, Deleted, Disabled, Enabled, NotSpecified, Suspended}]
                         [--tags]

Examples

Patch a workflow

az logic workflow update --resource-group "test_resource_group" --definition workflow.json --name "test_workflow"

Required Parameters

--definition

Path to a workflow defintion JSON file (see README.md for more info on this). This JSON format should match what the logic app design tool exports.

--name -n

The workflow name.

--resource-group -g

The resource group name.

Optional Parameters

--state

The state.

accepted values: Completed, Deleted, Disabled, Enabled, NotSpecified, Suspended
--tags

The resource tags.