question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extension online docs are not reflecting CLI parameter metadata.

See original GitHub issue

The docs for az network firewall ip-config create are mismatched.

Docs: az network firewall ip-config create list --subnet as a valid command.

CLI:

mike@Azure:~$ az network firewall ip-config create -h
This command is from the following extension: azure-firewall
The extension is in preview

Command
    az network firewall ip-config create : Create an Azure Firewall IP configuration.

Arguments
    --firewall-name -f  [Required] : Azure Firewall name.
    --name -n           [Required] : Name of the IP configuration.
    --public-ip-address [Required] : Name or ID of the public IP to use.
    --resource-group -g [Required] : Name of resource group. You can configure the default group
                                     using `az configure --defaults group=<name>`.
    --vnet-name         [Required] : The virtual network (VNet) name.
    --private-ip-address           : IP address used by the Firewall ILB as the next hop in User
                                     Defined Routes.

Global Arguments
    --debug                        : Increase logging verbosity to show all debug logs.
    --help -h                      : Show this help message and exit.
    --output -o                    : Output format.  Allowed values: json, jsonc, none, table, tsv,
                                     yaml.  Default: json.
    --query                        : JMESPath query string. See http://jmespath.org/ for more
                                     information and examples.
    --subscription                 : Name or ID of subscription. You can configure the default
                                     subscription using `az account set -s NAME_OR_ID`.
    --verbose                      : Increase logging verbosity. Use --debug for full debug logs

If you try and leverage the --subnet flag, you get this error:

mike@Azure:~$ az network firewall ip-config create -f <fw> --name <name> --vnet-name <vnet> --public-ip-address <pip> --private-ip-address 10.0.0.9 -g <rg> --subnet <snet>
Resource /subscriptions/.../resourceGroups/<rg>/providers/Microsoft.Network/virtualNetworks/<vnet>/subnets/<snet> referenced by resource /subscriptions/.../resourceGroups/<rg>/providers/Microsoft.Network/azureFirewalls/<fw> was not found. Please make sure that the referenced resource exists, and that both resources are in the same region.

Both resources are in the same resource group in the same region.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tjprescottcommented, Jan 24, 2019

Okay, I’ve verified the docs are fixed. Thanks for your quick turnaround on this @adewaleo

1reaction
tjprescottcommented, Jan 23, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Working With Object Metadata | Cloud Storage
Objects can have associated metadata, which control aspects of how GET requests are handled, including Content-Type , Cache-Control , Content-Disposition , and ...
Read more >
Everything You Ever Wanted to Know about ExifTool
Exiftool is a huge tool with tons of options. Learn, with examples, how to use exiftool from top to bottom in this ultimate...
Read more >
exiftool Application Documentation
A command-line interface to Image::ExifTool, used for reading and writing meta information in a variety of file types. FILE is one or more...
Read more >
Publishing Extensions - Visual Studio Code
vsce, short for "Visual Studio Code Extensions", is a command-line tool for ... Note: Due to security concerns, vsce will not publish extensions...
Read more >
Overview | Protocol Buffers - Google Developers
Cross-language Compatibility; Cross-project Support; Updating Proto Definitions Without Updating Code; When are Protocol Buffers not a Good ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found