Azure / Azure/azure-sdk-for-python
Synapse Workspace trustedServiceBypassEnabled property has no effect on create or update
- Vorherrschende Sprache
- Python
- Sterne
- 5.6k
- Forks
- 3.4k
- Ø Merge
- 2 T.
- Gemergte PRs (30 T.)
- 217
Beschreibung
- **Package Name**: azure-mgmt-synapse
- **Package Version**: 2.0.0
- **Operating System**: Windows 10 Pro 22H2
- **Python Version**: 3.10.7
**Describe the bug**
Setting the `trustedServiceBypassEnabled` property to `True` on workspace creation or update has no effect on the workspace's _"Allow Azure services and resources to access this workspace"_ checkbox under **Synapse workspace > Security > Networking > Firewall rules**.
**To Reproduce**
Use the Python sample request available at [Workspaces - Create Or Update - REST API (Azure Synapse) | Microsoft Learn](https://learn.microsoft.com/en-us/rest/api/synapse/resourcemanager/workspaces/create-or-update?view=rest-synapse-resourcemanager-2021-06-01&tabs=Python) and extend it with:
```python
workspace_info={
"properties": {
"trustedServiceBypassEnabled": True
}
}
```
**Expected behavior**
The _"Allow Azure services and resources to access this workspace"_ checkbox is ticked upon workspace creation or update.
**Screenshots**

**Additional context**
https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_models_py3.py#L13458
Beitragsleitfaden
Rechercherichtung
Untersuche azure/mgmt/synapse/models/_models_py3.py in der Nähe von Zeile 13458 und vergleiche die Modelleigenschaft trustedServiceBypassEnabled mit dem im Issue verlinkten Workspaces Create Or Update REST-Beispiel. Führe die Python-Anfrage sowohl für die Erstellung als auch für die Aktualisierung eines Workspace aus und überprüfe anschließend, ob das Kontrollkästchen für Synapse-Netzwerke den angeforderten Wert widerspiegelt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, python
- Bereich
- cloud
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 45/100