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