Azure / Azure/azure-sdk-for-python
Synapse Workspace trustedServiceBypassEnabled property has no effect on create or update
- 主要言語
- Python
- スター
- 5.6k
- フォーク
- 3.4k
- 平均マージ
- 2日 2時間
- マージ済み PR(30日)
- 213
説明
- **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
コントリビューションガイド
調査の方向性
azure/mgmt/synapse/models/_models_py3.py の 13458 行目付近を調べ、モデルプロパティ trustedServiceBypassEnabled と、issue にリンクされている Workspaces Create Or Update REST サンプルを比較します。workspace の作成と更新の両方で Python リクエストを実行し、Synapse のネットワーク設定のチェックボックスが要求した値を反映していることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, python
- 領域
- cloud
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100