Skip to main content

Microsoft Azure Command-Line Tools Resource Command Module

Project description

Microsoft Azure CLI ‘resource’ Command Module

This package is for the ‘resource’ module. i.e. ‘az resource’

Release History

  • ‘az rest’: new command for making REST calls
  • policy assignment list: Fix error when using a resource group or subscription level –scope.


  • deployment create: Improve error message when there is no TTY available


  • resource link: Deprecate –link-id, –target-id and –filter-string in favor of
    –link, –target, and –filter respectively.
  • resource link create/update: Fix issue where these commands would not work.
  • resource delete: Fix issue where deleting using a resource ID could crash on error.


  • deployment create/group deployment create: Fixed issue where parameters file with an empty set of parameters would not work.


  • deployment create/list/show: improve table output
  • deployment create/validate: fix issue where type secureObject was not recognized.


  • deployment create: Fix issue where type field was case-sensitive.
  • policy assignment create: support uri based parameters file
  • policy set-definition update: support uri based parameters and definitions files
  • policy definition update: fix handling of parameters and rules files
  • resource show/update/delete/tag/invoke-action: Fix issue where cross-subscription IDs did not properly honor the subscription ID.


  • Minor fixes.


  • group deployment create: support uri based parameters file
  • policy assignment create/list/show: support managed identity on policy assignments


  • Minor fixes


  • policy assignment create/list/delete/show/update: fix handling of scope parameter for management groups
  • add new command of az resource wait


  • policy definition/set-definition create/list/delete/show/update: add support for management groups and subscriptions


  • az policy definition/set-definition create/list/delete/show/update: add support for management groups and subscriptions


  • managedapp create –kind MarketPlace: fixed bug causing instance creation of a Marketplace managed app to crash.
  • Restrict feature commands to supported profiles.


  • provider operation show: exception handling to exit with code 3 upon a missing resource for consistency.


  • Minor changes


  • group deployment create: Add –rollback-on-error to execute a known-good deployment on error.
  • group deployment create: Fix issue where –parameters {} resulted in an error.


  • BREAKING CHANGE: ‘show’ commands log error message and fail with exit code of 3 upon a missing resource.
  • group deployment delete: Add –no-wait support.
  • deployment delete: Add –no-wait support.
  • Added deployment wait command.
  • Fix issue where the subscription-level az deployment commands erroneously appeared for profile 2017-03-09-profile.


  • Support deployment at subscription scope: new operation group deployment.


  • Minor changes


  • add account management-group commands.


  • Minor changes


  • Minor changes


  • policy definition create: Add support for –metadata.
  • policy definition update: Add support for –metadata, –set, –add, –remove.
  • sdist is now compatible with wheel 0.31.0


provider operation list/show: (breaking change)`api-version` is no longer required to run the command


  • Support Autorest 3.0 based SDKs


  • group deployment export: On failure, command will now output a partial template and any failures.


  • feature: bring back ‘feature show’ command


  • deployment create/validate: Fix bug where warning was incorrectly displayed when a template ‘type’ field contained
    uppercase values.


  • Helpfile changes


  • Update for CLI core changes.


  • resource show: expose –include-response-body to show the response body in the output


  • –resource parameter, resource-level locks now support resource-ids.


  • group export: Fixed incompatibility with most recent version of msrest dependency.
  • az policy assignment create: policy assignment create command to work with built in policy definitions and policy set definitions.

2.0.16 (2017-10-09)

  • group: permit –resource-group/-g options for resource group name.
  • account lock: lock commands to work specifically with subscription level locks
  • group lock: lock commands to work specifically with group level locks
  • resource lock: lock command to work specifically with resource level locks

2.0.15 (2017-09-22)

  • policy: support to show built-in policy definition.
  • policy: support mode parameter for creating policy definitions.
  • policy: add policy set definition commands.
  • policy: add sku and policysetdefinition parameters when creating policy assignment
  • managedapp definition: support to create managedapp definition using create-ui-definition and main-template.
  • BREAKING CHANGE: managedapp: Update to latest ARM package, which includes changing resource type from appliances to applications and applianceDefinitions to applicationDefinitions.
  • resource invoke-action: supports ability to invoke any action onto resource, also supports user-specified url to post.

2.0.14 (2017-09-11)

  • Allows passing in resource policy parameter definitions in ‘policy definition create’, and ‘policy definition update’.
  • Allows passing in parameter values for ‘policy assignment create’.
  • In all cases params can be provided either via json or file.
  • Incremented API version.
  • Support ‘–ids’ parameter to refer to locks
  • Various lock command bug fixes

2.0.12 (2017-08-11)

  • minor fixes

2.0.13 (2017-08-28)

  • group deployment create: Fixes issue where templates which lacked “parameters” or “resources” failed to deploy.

2.0.11 (2017-07-27)

  • minor fixes

2.0.10 (2017-07-07)

  • group deployment create: Improve prompting for missing parameters. Improve parsing of –parameters KEY=VALUE syntax.

2.0.9 (2017-06-21)

  • group deployment create: Fixes issue where some parameter files were no longer recognized using @<file> syntax.
  • resourcemanagedapp commands: Support –ids argument.

2.0.8 (2017-06-13)

  • Fix up some parsing and error messages. (#3584)
  • Fix –resource-type parsing for the lock command to accept <resource-namespace>/<resource-type>
  • Add parameter checking for template link templates (#3629)
  • Add support for specifying deployment parameters using KEY=VALUE syntax.

2.0.7 (2017-05-30)

  • Minor fixes.

2.0.6 (2017-05-09)

  • Change ARM api-version default to latest, update ARM SDK (#3256)

2.0.5 (2017-05-05)

  • Add managedapp and managedapp definition commands (#2985)

2.0.4 (2017-04-28)

  • Support ‘provider operation’ commands (#2908)
  • Support generic resource create (#2606)

2.0.3 (2017-04-17)

  • Fix resource parsing and api version lookup. (#2781)
  • Add docs for az lock update. (#2702)
  • Error out if you try to list resources for a group that doesn’t exist. (#2769)
  • [Compute] Fix issues with VMSS and VM availability set update. (#2773)
  • Add some more error checking/handling. (#2768)
  • Make argument parameters match up. (#2717)
  • Fix lock create and delete if parent-resource-path is None (#2742)
  • Apply core changes required for API profile support (#2834) & JSON string parsing from shell (#2705)

2.0.2 (2017-04-03)

  • Add better error messages if –namespace is missing. (#2652)
  • Make –parameters repeatable, and merge arguments. (#2656)
  • resource: support resource id for generic resource update (#2640)
  • Add prompting for missing template parameters. (#2364)

2.0.1 (2017-03-13)

  • Improve docs to point at template deployments command. (#2466)
  • core: support setting default values for common arguments like default resource group, default web, default vm (#2414)
  • Add some docs for az lock, remove an unused flag, rename another. (#2382)

2.0.0 (2017-02-27)

  • GA release

0.1.2rc2 (2017-02-22)

  • Documentation updates.

0.1.2rc1 (2017-02-17)

  • Add support for resource links
  • Prompts for yes / no use the -y option rather than –force
  • Resource delete return the server response
  • Show commands return empty string with exit code 0 for 404 responses

0.1.1b2 (2017-01-30)

  • Support for management locks.
  • Add path expansion to file type parameters.
  • Support Python 3.6.

0.1.1b1 (2017-01-17)

  • Add –operation-ids to ‘az resource group deployment operations show’.

0.1.0b11 (2016-12-12)

  • Preview release.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for opal-azure-cli-resource, version 2.1.18
Filename, size File type Python version Upload date Hashes
Filename, size opal_azure_cli_resource-2.1.18-py2.py3-none-any.whl (40.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size opal-azure-cli-resource-2.1.18.tar.gz (40.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page