in src/utils/azureUtils.ts [9:17]
function parseResourceId(id: string): RegExpMatchArray {
const matches: RegExpMatchArray | null = id.match(/\/subscriptions\/(.*)\/resourceGroups\/(.*)\/providers\/(.*)\/(.*)/);
if (matches === null || matches.length < 3) {
throw new Error(localize('invalidResourceId', 'Invalid Azure Resource Id'));
}
return matches;
}