az logicapp
Manage logic apps.
Commands
Name | Description | Type | Status |
---|---|---|---|
az logicapp config |
Configure a logic app. |
Core | GA |
az logicapp config appsettings |
Configure logic app settings. |
Core | GA |
az logicapp config appsettings delete |
Delete a logic app's settings. |
Core | GA |
az logicapp config appsettings list |
Show settings for a logic app. |
Core | GA |
az logicapp config appsettings set |
Update a logic app's settings. |
Core | GA |
az logicapp create |
Create a logic app. |
Core | GA |
az logicapp delete |
Delete a logic app. |
Core | GA |
az logicapp deployment |
Manage logic app deployments. |
Core | GA |
az logicapp deployment source |
Manage logicapp app deployment via source control. |
Core | GA |
az logicapp deployment source config-zip |
Perform deployment using the kudu zip push deployment for a logic app. |
Core | GA |
az logicapp list |
List logic apps. |
Core | GA |
az logicapp restart |
Restart a logic app. |
Core | GA |
az logicapp scale |
Scale a logic app. |
Core | GA |
az logicapp show |
Get the details of a logic app. |
Core | GA |
az logicapp start |
Start a logic app. |
Core | GA |
az logicapp stop |
Stop a logic app. |
Core | GA |
az logicapp update |
Update a logic app. |
Core | GA |
az logicapp create
Create a logic app.
The logic app's name must be able to produce a unique FQDN as AppName.azurewebsites.net.
az logicapp create --name
--resource-group
--storage-account
[--app-insights]
[--app-insights-key]
[--deployment-container-image-name]
[--deployment-local-git]
[--deployment-source-branch]
[--deployment-source-url]
[--disable-app-insights {false, true}]
[--docker-registry-server-password]
[--docker-registry-server-user]
[--functions-version {4}]
[--https-only {false, true}]
[--plan]
[--runtime-version {~14, ~16, ~18}]
[--tags]
Examples
Create a basic logic app.
az logicapp create -g myRG --subscription mySubscription -p MyPlan -n myLogicApp -s myStorageAccount
Required Parameters
Name of the new logic app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Provide a string value of a Storage Account in the provided Resource Group. Or Resource ID of a Storage Account in a different Resource Group.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of the existing App Insights project to be added to the logic app. Must be in the same resource group.
Instrumentation key of App Insights to be added.
Container image name from container registry, e.g. publisher/image-name:tag.
Enable local git.
The branch to deploy.
Property | Value |
---|---|
Default value: | master |
Git repository URL to link with manual integration.
Disable creating application insights resource during logicapp create. No logs will be available.
Property | Value |
---|---|
Accepted values: | false, true |
The container registry server password. Required for private registries.
The container registry server username.
The functions version for logic app.
Property | Value |
---|---|
Default value: | 4 |
Accepted values: | 4 |
Redirect all traffic made to an app using HTTP to HTTPS.
Property | Value |
---|---|
Default value: | False |
Accepted values: | false, true |
Name or resource id of the logicapp app service plan. Use 'appservice plan create' to get one. If using an App Service plan from a different resource group, the full resource id must be used and not the plan name.
The runtime version for logic app.
Property | Value |
---|---|
Accepted values: | ~14, ~16, ~18 |
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az logicapp delete
Delete a logic app.
az logicapp delete --name
--resource-group
[--slot]
[--yes]
Examples
Delete a logic app.
az logicapp delete --name myLogicApp --resource-group myRG --subscription mySubscription
Required Parameters
Name of the logic app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the slot. Default to the productions slot if not specified.
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az logicapp list
List logic apps.
az logicapp list [--resource-group]
Examples
List default host name and state for all logic apps.
az logicapp list --query "[].hostName: defaultHostName, state: state"
List all running logic apps.
az logicapp list --query "[?state=='Running']"
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az logicapp restart
Restart a logic app.
az logicapp restart --name
--resource-group
[--slot]
Examples
Restart a logic app.
az logicapp restart --name myLogicApp --resource-group myRG
Required Parameters
Name of the logic app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the slot. Default to the productions slot if not specified.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az logicapp scale
Scale a logic app.
az logicapp scale --name
--resource-group
[--max-instances]
[--min-instances]
[--slot]
Examples
Scale a logic app.
az logicapp scale --name myLogicApp --resource-group myRG --subscription mySubscription --min-instances 2 --max-instances 4
Required Parameters
Name of the logic app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The maximum number of instances this logic app can scale out to under load.
The number of instances that are always ready and warm for this logic app.
The name of the slot. Default to the productions slot if not specified.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az logicapp show
Get the details of a logic app.
az logicapp show --name
--resource-group
Examples
Get the details of a logic app.
az logicapp show --name myLogicApp --resource-group myRG --subscription mySubscription
Required Parameters
Name of the logic app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az logicapp start
Start a logic app.
az logicapp start --name
--resource-group
[--slot]
Examples
Start a logic app
az logicapp start --name myLogicApp --resource-group myRG
Required Parameters
Name of the logic app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the slot. Default to the productions slot if not specified.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az logicapp stop
Stop a logic app.
az logicapp stop --name
--resource-group
[--slot]
Examples
Stop a logic app.
az logicapp stop --name myLogicApp --resource-group myRG
Required Parameters
Name of the logic app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the slot. Default to the productions slot if not specified.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az logicapp update
Update a logic app.
az logicapp update --name
--resource-group
[--add]
[--force-string]
[--plan]
[--remove]
[--set]
[--slot]
Examples
Update a logic app. (autogenerated)
az logicapp update --name myLogicApp --resource-group myRG
Required Parameters
Name of the logic app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Default value: | [] |
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Default value: | False |
The name or resource id of the plan to update the logicapp with.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Default value: | [] |
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Default value: | [] |
The name of the slot. Default to the productions slot if not specified.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |