Azure / Azure/azure-cli

`az managedapp definition create` command doesn't provide an option to control the deployment mode

Open
#21,274 3 comments 0 reactions 2 assignees Claimed by @Jing-song View on GitHub
act-identity-squad ARM feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 10h
Merged PRs (30d)
64

Description

**Is your feature request related to a problem? Please describe.**
`az managedapp definition create` command doesn't provide an option to control the deployment mode type (Incremental, Complete) and defaults to 'Complete'. The REST API provides a way to achieve [this](https://docs.microsoft.com/en-us/rest/api/managedapplications/application-definitions/create-or-update#applicationdeploymentpolicy)

**Describe the solution you'd like**
The CLI command would need a `--deployment-mode` parameter added, for example.
`az managedapp definition create --deployment-mode=incremental`

**Describe alternatives you've considered**
Use the [REST API](https://docs.microsoft.com/en-us/rest/api/managedapplications/application-definitions/create-or-update) directly, but this is a more complicated approach.

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.