Azure / Azure/apiops

[Question] How to define so that an API is only available on a Self Hosted Gateway (and not on 'Managed') ?

Open
#710 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
448
Forks
247
PR merge metrics
No merged PRs in 30d

Description

### Release version

APIOps Toolkit for Azure APIM v6.0.1.3

### Question Details

How can I define that an API should only be available on a Self Hosted Gateway and not on 'Managed' ?
In the AZure Portal API Management UI this is done by removing 'Managed' in the gateways property.

### Expected behavior

I would like to have the possibilty to 'deny' availability on 'Managed'

### Actual behavior

When a new API is created via APIOps, 'Managed' is always included in the 'gateways' property in the 'Azure Portal API Management UI' API Settings

### Reproduction Steps

1. Create an API in the 'Azure Portal API Management UI'
2. Remove 'Managed' from the 'gateways' property in the 'Azure Portal API Management UI' (API > Settings tab)
3. Extract the API Management configuration with the 'extractor' tool
4. Delete the API in the 'Azure Portal API Management UI'
5. Publish the extracted API Management configuration from Step 3
6. Check the 'gateways' property in the 'Azure Portal API Management UI' (API > Settings tab), it will have 'Managed' which is not wanted

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.