Azure / Azure/apiops

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

オープン
#710 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
448
フォーク
247
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

extractor ツールから始め、公開後の抽出された API 設定を API の gateways プロパティと比較します。ゲートウェイの割り当てがどのように読み取られ適用されるかを追跡し、その後、Managed なしで抽出された API が再公開後も Managed で利用できないことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure
領域
api, cloud
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。