code: def get_rg_from_id(vmss_id):
      '''get a resource group name from a VMSS ID string'''
      rgname = re.search('Groups/(.+?)/providers', vmss_id).group(1)
      print('Resource group: ' + rgname)
      return rgnamf get_rg_from_id(vmss_id):
      '''get a resource group name from a VMSS ID string'''
      rgname = re.search('Groups/(.+?)/providers', vmss_id).group(1)
      print('Resource group: ' + rgname)
      return rgname
docs: get a resource group name from a VMSS ID string