Azure / Azure/azure-cli

Unclear how to manage the trustedServiceBypassEnabled with azure cli

Đang mở
#28,362 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
act-codegen-extensibility-squad Auto-Assign customer-reported Service Attention Synapse
Ngôn ngữ chính
Python
Star
4.6k
Fork
3.5k
Merge trung bình
3 ngày 2 giờ
Pull request đã merge (30 ngày)
60

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.