Azure / Azure/apiops

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

Offen
#710 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
448
Forks
247
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit dem Extractor-Tool und vergleiche die extrahierte API-Konfiguration nach der Veröffentlichung mit der gateways-Eigenschaft der API. Verfolge, wie Gateway-Zuweisungen gelesen und angewendet werden, und überprüfe anschließend, dass eine ohne Managed extrahierte API nach der erneuten Veröffentlichung auf Managed weiterhin nicht verfügbar ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure
Bereich
api, cloud
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.