Adding new InstanceConfig value for VMSS & VM tags (#1560)

* Adding new instanceconfig value for tags.

* Removing bad import.

* Updating where tags are generated.

* Updating tag generation for scalesets.

* Updating tag generation in vm.

* Updating vm tag generation.

* Updating vm tag generation.

* Fixing extension.

* Fixing import.

* Fixing typing.

* Fixing get_vm calls.

* Fixing calls to get_vm.

* Fixing optional tag.
This commit is contained in:
Noah McGregor Harper
2022-01-05 13:16:03 -08:00
committed by GitHub
parent c5421894c1
commit 83e48e7e7b
9 changed files with 76 additions and 16 deletions

View File

@ -148,8 +148,8 @@ def azmon_extension(
"publisher": "Microsoft.Azure.Monitor",
"location": region,
"type": "AzureMonitorLinuxAgent",
"typeHandlerVersion": "1.9",
"autoUpgradeMinorVersion": False,
"typeHandlerVersion": "1.0",
"autoUpgradeMinorVersion": True,
"settings": {"GCS_AUTO_CONFIG": True},
"protectedsettings": {
"configVersion": config_version,