Azure / Azure/azure-cli

Unclear how to manage the trustedServiceBypassEnabled with azure cli

未关闭
#28,362 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
act-codegen-extensibility-squad Auto-Assign customer-reported Service Attention Synapse
主要语言
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**

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。