in src/eventSubscription/createWizard/EventHubsNamespaceListStep.ts [26:38]
private async getQuickPicks(wizardContext: T): Promise<IAzureQuickPickItem<Eventhub>[]> {
const client: EventHubManagementClient = createAzureClient(wizardContext, EventHubManagementClient);
const namespaces: EHNamespace[] = await client.namespaces.list();
return namespaces.map((n: EHNamespace) => {
return {
id: n.id,
// tslint:disable-next-line:no-non-null-assertion
label: n.name!,
description: '',
data: n
};
});
}