import { AzureWizardPromptStep } from "vscode-azureextensionui" ; import { ext } from "../../extensionVariables" ; import { IServiceWizardContext } from "./IServiceWizardContext" ; export class ServiceSkuStep extends AzureWizardPromptStep < IServiceWizardContext > { public async prompt ( wizardContext ) { const skus = [ 'Consumption' , 'Developer' , 'Standard' , 'Basic' , 'Premium' ] ; const sku = await ext . ui . showQuickPick ( skus . map ( ( s ) => { return { label : s , description : '' , detail : '' } ; } ) , { canPickMany : false } ) ; wizardContext . sku = sku . label ; } public shouldPrompt ( wizardContext ) { return ! wizardContext . sku ; } }