Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#710 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
azure
领域
api, cloud

调研方向

从 extractor 工具开始,并将发布后的提取 API 配置与 API 的 gateways 属性进行比较。跟踪网关分配的读取和应用方式,然后验证在不包含 Managed 的情况下提取的 API 重新发布后在 Managed 上仍不可用。

由索引模型根据 Issue 内容生成。

描述

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
主要语言
C#
星标
448
派生
247
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Azure/apiops 的其他 Issue

查看 Azure/apiops 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。