summary import { TagsObject , NetworkManagementClient } from "@msinternal/network-resource-manager" ; import { DefaultAzureCredential } from "@azure/identity" ; async function updateIPGroups ( ) { const subscriptionId = "subId" ; const resourceGroupName = "myResourceGroup" ; const ipGroupsName = "ipGroups1" ; const parameters = { tags : { key1 : "value1" , key2 : "value2" } } ; const credential = new DefaultAzureCredential ( ) ; const client = new NetworkManagementClient ( credential , subscriptionId ) ; const result = await client . ipGroups . updateGroups ( resourceGroupName , ipGroupsName , parameters ) ; console . log ( result ) ; } updateIPGroups ( ) . catch ( console . error ) ;