diff --git a/CHANGELOG.md b/CHANGELOG.md index 078247f05..e7a899822 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to the "vscode-azurearmtools" extension will be documented in this file. +## Version 0.16.0 (2021--) + +### Added + +- Svg icons for loadbalancer, virtual machine scaleset, and service fabric resources. + ## Version 0.15.0 (2021-03-08) ### Added diff --git a/icons/loadbalancers.svg b/icons/loadbalancers.svg new file mode 100644 index 000000000..46762b606 --- /dev/null +++ b/icons/loadbalancers.svg @@ -0,0 +1,16 @@ + + + + + + + + + Icon-networking-62 + + + + + + + diff --git a/icons/servicefabric.svg b/icons/servicefabric.svg new file mode 100644 index 000000000..a12934dc2 --- /dev/null +++ b/icons/servicefabric.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/icons/virtualmachinescalesets.svg b/icons/virtualmachinescalesets.svg new file mode 100644 index 000000000..290ba5ef9 --- /dev/null +++ b/icons/virtualmachinescalesets.svg @@ -0,0 +1 @@ +Icon-compute-34 \ No newline at end of file diff --git a/src/vscodeIntegration/Treeview.ts b/src/vscodeIntegration/Treeview.ts index 7585bd2b7..3fdffceaa 100644 --- a/src/vscodeIntegration/Treeview.ts +++ b/src/vscodeIntegration/Treeview.ts @@ -62,6 +62,7 @@ const resourceIcons: [string, string][] = [ ["Microsoft.Automation/automationAccounts/webhooks", "automation.svg"], ["Microsoft.Cdn/profiles", "cdnprofiles.svg"], ["Microsoft.Compute/virtualMachines", "virtualmachines.svg"], + ["Microsoft.Compute/virtualMachineScaleSets", "virtualmachinescalesets.svg"], ["Microsoft.Compute/virtualMachines/extensions", "extensions.svg"], ["Microsoft.ContainerInstance/containerGroups", "containerinstances.svg"], ["Microsoft.DocumentDB/databaseAccounts", "cosmosdb.svg"], @@ -100,6 +101,7 @@ const resourceIcons: [string, string][] = [ ["Microsoft.KeyVault/vaults/secrets", "keyvaults.svg"], ["Microsoft.Media/mediaServices", "mediaservices.svg"], ["Microsoft.Network/azureFirewalls", "firewall.svg"], + ["Microsoft.Network/loadBalancers", "loadbalancers.svg"], ["Microsoft.Network/networkInterfaces", "nic.svg"], ["Microsoft.Network/networkSecurityGroups", "nsg.svg"], ["Microsoft.Network/networkSecurityGroups/securityRules", "nsg.svg"], @@ -109,6 +111,7 @@ const resourceIcons: [string, string][] = [ ["Microsoft.Network/trafficManagerProfiles", "trafficmanagerprofiles.svg"], ["Microsoft.Network/virtualNetworkGateways", "virtualnetworkgateways.svg"], ["Microsoft.Network/virtualNetworks", "virtualnetworks.svg"], + ["Microsoft.ServiceFabric/clusters", "servicefabric.svg"], ["Microsoft.Sql/instancePools", "sqlservers.svg"], ["Microsoft.Sql/locations/instanceFailoverGroups", "sqlservers.svg"], ["Microsoft.Sql/managedInstances", "sqlservers.svg"], diff --git a/test/Treeview.test.ts b/test/Treeview.test.ts index 98d2404e4..37b962c04 100644 --- a/test/Treeview.test.ts +++ b/test/Treeview.test.ts @@ -298,6 +298,9 @@ suite("TreeView", async (): Promise => { { "type": "Microsoft.Compute/virtualMachines/extensions" }, + { + "type": "Microsoft.Compute/virtualMachineScaleSets" + }, { "type": "Microsoft.ContainerInstance/containerGroups" }, @@ -409,6 +412,9 @@ suite("TreeView", async (): Promise => { { "type": "Microsoft.Network/azureFirewalls" }, + { + "type": "Microsoft.Network/loadBalancers" + }, { "type": "Microsoft.Network/networkInterfaces" }, @@ -436,6 +442,9 @@ suite("TreeView", async (): Promise => { { "type": "Microsoft.Network/virtualNetworks" }, + { + "type": "Microsoft.ServiceFabric/clusters" + }, { "type": "Microsoft.Sql/instancePools" }, @@ -703,6 +712,7 @@ suite("TreeView", async (): Promise => { getIconObject("cdnprofiles.svg", undefined), getIconObject("virtualmachines.svg", undefined), getIconObject("extensions.svg", undefined), + getIconObject("virtualmachinescalesets.svg", undefined), getIconObject("containerinstances.svg", undefined), getIconObject("cosmosdb.svg", undefined), getIconObject("cosmosdb.svg", undefined), @@ -740,6 +750,7 @@ suite("TreeView", async (): Promise => { getIconObject("keyvaults.svg", undefined), getIconObject("mediaservices.svg", undefined), getIconObject("firewall.svg", undefined), + getIconObject("loadbalancers.svg", undefined), getIconObject("nic.svg", undefined), getIconObject("nsg.svg", undefined), getIconObject("nsg.svg", undefined), @@ -749,6 +760,7 @@ suite("TreeView", async (): Promise => { getIconObject("trafficmanagerprofiles.svg", undefined), getIconObject("virtualnetworkgateways.svg", undefined), getIconObject("virtualnetworks.svg", undefined), + getIconObject("servicefabric.svg", undefined), getIconObject("sqlservers.svg", undefined), getIconObject("sqlservers.svg", undefined), getIconObject("sqlservers.svg", undefined),