Unclear how to manage the trustedServiceBypassEnabled with azure cli
- 主要語言
- Python
- 星號
- 4.6k
- 分支
- 3.5k
- 平均合併
- 3 天 2 小時
- 30 天內合併 PR
- 60
描述
**Related command**
isTrustedServiceBypassEnabled=$(az synapse workspace show --resource-group $resourceGroupName --name $synapseWorkspaceName --query "trustedServiceBypassEnabled" -o tsv)
echo $isTrustedServiceBypassEnabled
if [ $isTrustedServiceBypassEnabled != 'true' ]; then
echo "isTrustedServiceBypassEnabled is NOT ENABLED. Enabling..."
az synapse workspace update --resource-group $resourceGroupName --name $synapseWorkspaceName --allow-azure-services-access true
else
echo "isTrustedServiceBypassEnabled is ENABLED."
fi
**Is your feature request related to a problem? Please describe.**
The command --allow-azure-services-access true suggested by copilot does not work.
**Describe the solution you'd like**
enable and disable --allow-azure-services-access
**Describe alternatives you've considered**
manually setup.
**Additional context**
貢獻指南
研究方向
Start by reproducing the `az synapse workspace show` and `az synapse workspace update` commands with `--allow-azure-services-access` and compare their behavior with `trustedServiceBypassEnabled`. Done means the Azure CLI can reliably enable and disable this setting, with the expected state visible from the related query.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- azure, python
- 領域
- cli, cloud
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100