Azure / Azure/azure-cli

az apim create cli command does not have option to set the specific vnet

Open
#15,533 10 comments 1 reaction 0 assignees View on GitHub
act-observability-squad API Management feature-request Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Describe the bug**
"az apim create" CLI command does not have option to set the specific VNet.
VNet type using the option --virtual-network {External, Internal, None} but if we choose, External.
But does not have a way to associate a specific VNet/SubNet to the apim.

**To Reproduce**
Create a APIM using Azure CLI
az apim create --name apimx --resource-group rgy --virtual-network External

**Expected behavior**
Should have had option to set the specific VNET and specific SubNET

**Environment summary**
Shell Type - bash
Bash on windows 10
CLI Version - latest (2.13.0)

**Additional context**
Could you point me to the documentation to achieve this or provide sample apim cli command to achieve this..

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.