簡體   English   中英

更新服務結構/ VMSS存儲帳戶密鑰

[英]Updating Service Fabric / VMSS storage account keys

當在Azure上使用模板創建新的Service Fabric時,它將使用json的以下代碼段-

"name": "[concat('VMDiagnosticsVmExt', '_', variables('vmNodeType0Name'))]",
"properties": {
  "type": "IaaSDiagnostics",
  "autoUpgradeMinorVersion": true,
  "protectedSettings": {
    "storageAccountName": "[parameters('SupportStorageAccountName')]",
    "storageAccountKey": "[parameters('SupportprotectedAccountKey1')]",
    "storageAccountEndPoint": "https://core.windows.net/"

我想在我們的安全性過程中更新storageAccountKey,但是我不知道如何更改它們。

我嘗試通過模板應用更改,但收到錯誤

"code": "OperationNotAllowed",
"message": "VM Scale Set extensions of handler 
'Microsoft.Azure.ServiceFabric.ServiceFabricNode' 
can be deleted only at the time of VM Scale Set deletion."

而且我在PowerShell中找不到可以連接的任何東西,讓我進行更改

這可能嗎?

您是否使用了與最初用於部署Service Fabric的模板相同的模板? 錯誤消息聽起來像僅在模板中指定了比例集,並且Service Fabric阻止了它,因為在模板中不包括Service Fabric擴展會從比例集中刪除Service Fabric。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM