Skip to content

cannot specify virtual network when deploying APIM usnig CLI #24830

@vlad610

Description

@vlad610

The documentation is not clear on how a VNet integrated APIM service can be created.

I tried this:

az login
az apim create --name "<my_apim>" --publisher-email "<my_email>" --publisher-name "<my_name>" --resource-group "<my_rg>" --virtual-network "External"

The service created is not VNet integrated.

The section for "az apim create", specifically, the "--virtual-network" parameter needs to be better documented. There is no option to specify the virtual network and subnet you want to deploy the service into.

This was raised here as well:
https://stackoverflow.com/questions/65058942/azure-api-management-how-to-set-the-vnet-subnet-using-azure-cli


Document Details

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    API Managementaz apimAccountaz login/accountAuto-AssignAuto assign by botDocsService AttentionThis issue is responsible by Azure service team.act-identity-squadact-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions