Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PeterClaes opened this issue Nov 28, 2024 · 2 comments

Comments

@PeterClaes
Copy link

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
Copy link

  Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
  Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.

@PeterClaes PeterClaes changed the title How to define that an API is only available on a Self Hosted Gateway (and not on 'Managed') ? How to define so that an API is only available on a Self Hosted Gateway (and not on 'Managed') ? Nov 28, 2024
@PeterClaes PeterClaes changed the title How to define so that an API is only available on a Self Hosted Gateway (and not on 'Managed') ? [QUESTION] How to define so that an API is only available on a Self Hosted Gateway (and not on 'Managed') ? Nov 28, 2024
@PeterClaes PeterClaes changed the title [QUESTION] How to define so that an API is only available on a Self Hosted Gateway (and not on 'Managed') ? [Question] How to define so that an API is only available on a Self Hosted Gateway (and not on 'Managed') ? Nov 28, 2024
@daviian
Copy link
Contributor

daviian commented Dec 7, 2024

I've created a similar issue a while ago, see #501
There is also an open PR that waits for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants