How to use the vscode-azureextensionui.ResourceGroupListStep.isNameAvailable function in vscode-azureextensionui

To help you get started, we’ve selected a few vscode-azureextensionui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / vscode-azurelogicapps / src / wizard / integration-account / integrationAccountNameStep.ts View on Github external
protected async isRelatedNameAvailable(wizardContext: IIntegrationAccountWizardContext, name: string): Promise {
        return ResourceGroupListStep.isNameAvailable(wizardContext, name);
    }
github microsoft / vscode-azurelogicapps / src / wizard / logic-app / LogicAppNameStep.ts View on Github external
protected async isRelatedNameAvailable(wizardContext: IAzureLogicAppWizardContext, name: string): Promise {
        return ResourceGroupListStep.isNameAvailable(wizardContext, name);
    }
github microsoft / vscode-azuretools / appservice / src / createAppService / SiteNameStep.ts View on Github external
protected async isRelatedNameAvailable(wizardContext: IAppServiceWizardContext, name: string): Promise {
        const tasks: Promise[] = [ResourceGroupListStep.isNameAvailable(wizardContext, name)];
        if (wizardContext.newSiteKind === AppKind.functionapp) {
            tasks.push(StorageAccountListStep.isNameAvailable(wizardContext, name));
        } else {
            tasks.push(AppServicePlanListStep.isNameAvailable(wizardContext, name, name));
        }

        return (await Promise.all(tasks)).every((v: boolean) => v);
    }
}
github microsoft / vscode-cosmosdb / src / tree / CosmosDBAccountWizard / CosmosDBAccountNameStep.ts View on Github external
protected async isRelatedNameAvailable(wizardContext: ICosmosDBWizardContext, name: string): Promise {
        return await ResourceGroupListStep.isNameAvailable(wizardContext, name);
    }