0
當在Azure上創建了一個帶有模板的新服務織物,它使用JSON的這個片段 -更新服務織物/ VMSS存儲帳戶鍵
"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中任何會交流,讓我改變
這是可能的?
這只是改變設置所需的一塊模板 - 它是增量模式,所以它不應該試圖改變SF。 –
我發現ARM模板系統非常簡單。嘗試使用應用的更改推送原始模板。 – Mardoxx