summary import { TagsObject , NetworkManagementClient } from "@msinternal/network-resource-manager" ; import { DefaultAzureCredential } from "@azure/identity" ; async function updateAzureFirewallTags ( ) { const subscriptionId = "subid" ; const resourceGroupName = "azfwtest" ; const azureFirewallName = "fw1" ; const parameters = { tags : { tag1 : "value1" , tag2 : "value2" } } ; const credential = new DefaultAzureCredential ( ) ; const client = new NetworkManagementClient ( credential , subscriptionId ) ; const result = await client . azureFirewalls . beginUpdateTagsAndWait ( resourceGroupName , azureFirewallName , parameters ) ; console . log ( result ) ; } updateAzureFirewallTags ( ) . catch ( console . error ) ;