Skip to content

[APIM] cannot create an APIM with public network access disabled #23683

Open
Azure/azure-cli
#26380
@zadigus

Description

@zadigus

Following the documentation, I am trying to issue the following command:

az apim create --name "my-private-apim" --publisher-email "<my-email>" --publisher-name "<my-name>" --resource-group some-rg-name --location eastus --sku-name Developer --public-network-access false --virtual-network None

When I look at the result in the Azure Portal, I can see that the APIM has been provided with a public IP address. When I export the template on azure portal, I can see that the field "publicNetworkAccess" is filled with value "Enabled".

I tried to do the same with option --virtual-network set to Internal and I also get that the public network access actually is enabled.

Am I doing something wrong? What is happening here?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    API ManagementService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions