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 rgname
get a resource group name from a VMSS ID string