Skip to content

az group export: query/output parameters not supported #5777

@dtissen

Description

@dtissen
  1. The az group export command fails allways if the resource group has unknown schema types.

For Example: The schema of resource type 'Microsoft.Network/virtualNetworkGateways' is not available.
If i try to export a Template I will allways get this message. But instead of giving me the template without the unknown schema i get nothing. The Problem is: there a many unknown schemas 👎

The Problem get even worese because the query parameter does not work either!

  1. Query Parameter does not work. For example [?type=='Microsoft.Storage/storageAccounts']" --> give me a Template for the storageAccounts. Does not work.

Since the azure portal is able to show me a deployment template the REST seems to be able deliver just a part of the resource group --> The issue must be the azure-cli.


Environment summary

Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupResource Manager

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions