@microsoft/teamsfx-core 1.11.0 → 1.11.1-alpha.10d9b00a6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/common/local/index.d.ts +1 -0
- package/build/common/local/index.d.ts.map +1 -1
- package/build/common/local/index.js +1 -0
- package/build/common/local/index.js.map +1 -1
- package/build/common/local/localCertificateManager.d.ts +1 -0
- package/build/common/local/localCertificateManager.d.ts.map +1 -1
- package/build/common/local/localCertificateManager.js +2 -0
- package/build/common/local/localCertificateManager.js.map +1 -1
- package/build/common/local/localTelemetryReporter.d.ts +69 -0
- package/build/common/local/localTelemetryReporter.d.ts.map +1 -0
- package/build/common/local/localTelemetryReporter.js +118 -0
- package/build/common/local/localTelemetryReporter.js.map +1 -0
- package/build/common/local/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/local/projectSettingsHelper.js +20 -4
- package/build/common/local/projectSettingsHelper.js.map +1 -1
- package/build/common/projectSettingsHelperV3.d.ts +6 -0
- package/build/common/projectSettingsHelperV3.d.ts.map +1 -1
- package/build/common/projectSettingsHelperV3.js +33 -1
- package/build/common/projectSettingsHelperV3.js.map +1 -1
- package/build/common/telemetry.d.ts +2 -1
- package/build/common/telemetry.d.ts.map +1 -1
- package/build/common/telemetry.js +1 -0
- package/build/common/telemetry.js.map +1 -1
- package/build/common/templates-config.json +2 -2
- package/build/common/tools.d.ts +2 -5
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +17 -9
- package/build/common/tools.js.map +1 -1
- package/build/common/utils.d.ts +1 -0
- package/build/common/utils.d.ts.map +1 -1
- package/build/common/utils.js +11 -2
- package/build/common/utils.js.map +1 -1
- package/build/component/bicep.d.ts.map +1 -1
- package/build/component/bicep.js +0 -8
- package/build/component/bicep.js.map +1 -1
- package/build/component/code/botCode.d.ts +7 -2
- package/build/component/code/botCode.d.ts.map +1 -1
- package/build/component/code/botCode.js +94 -40
- package/build/component/code/botCode.js.map +1 -1
- package/build/component/code/tabCode.d.ts +10 -0
- package/build/component/code/tabCode.d.ts.map +1 -1
- package/build/component/code/tabCode.js +121 -0
- package/build/component/code/tabCode.js.map +1 -1
- package/build/component/connection/azureFunctionConfig.d.ts +10 -0
- package/build/component/connection/azureFunctionConfig.d.ts.map +1 -1
- package/build/component/connection/azureFunctionConfig.js +33 -0
- package/build/component/connection/azureFunctionConfig.js.map +1 -1
- package/build/component/connection/azureResourceConfig.d.ts +11 -0
- package/build/component/connection/azureResourceConfig.d.ts.map +1 -0
- package/build/component/connection/azureResourceConfig.js +77 -0
- package/build/component/connection/azureResourceConfig.js.map +1 -0
- package/build/component/connection/azureWebAppConfig.d.ts +4 -1
- package/build/component/connection/azureWebAppConfig.d.ts.map +1 -1
- package/build/component/connection/azureWebAppConfig.js +14 -63
- package/build/component/connection/azureWebAppConfig.js.map +1 -1
- package/build/component/constants.d.ts +60 -0
- package/build/component/constants.d.ts.map +1 -1
- package/build/component/constants.js +62 -2
- package/build/component/constants.js.map +1 -1
- package/build/component/core.d.ts +2 -1
- package/build/component/core.d.ts.map +1 -1
- package/build/component/core.js +68 -126
- package/build/component/core.js.map +1 -1
- package/build/component/debug.d.ts +4 -2
- package/build/component/debug.d.ts.map +1 -1
- package/build/component/debug.js +133 -16
- package/build/component/debug.js.map +1 -1
- package/build/component/envManager.d.ts +0 -2
- package/build/component/envManager.d.ts.map +1 -1
- package/build/component/envManager.js +84 -63
- package/build/component/envManager.js.map +1 -1
- package/build/component/feature/apiConnector.d.ts +17 -0
- package/build/component/feature/apiConnector.d.ts.map +1 -0
- package/build/component/feature/apiConnector.js +40 -0
- package/build/component/feature/apiConnector.js.map +1 -0
- package/build/component/feature/bot.d.ts +1 -0
- package/build/component/feature/bot.d.ts.map +1 -1
- package/build/component/feature/bot.js +29 -8
- package/build/component/feature/bot.js.map +1 -1
- package/build/component/feature/cicd.d.ts +15 -0
- package/build/component/feature/cicd.d.ts.map +1 -0
- package/build/component/feature/cicd.js +121 -0
- package/build/component/feature/cicd.js.map +1 -0
- package/build/component/feature/sql.d.ts +4 -2
- package/build/component/feature/sql.d.ts.map +1 -1
- package/build/component/feature/sql.js +25 -2
- package/build/component/feature/sql.js.map +1 -1
- package/build/component/feature/tab.d.ts.map +1 -1
- package/build/component/feature/tab.js +59 -57
- package/build/component/feature/tab.js.map +1 -1
- package/build/component/fx/preDeployAction.d.ts +7 -0
- package/build/component/fx/preDeployAction.d.ts.map +1 -0
- package/build/component/fx/preDeployAction.js +32 -0
- package/build/component/fx/preDeployAction.js.map +1 -0
- package/build/component/fx/preProvisionAction.d.ts +7 -0
- package/build/component/fx/preProvisionAction.d.ts.map +1 -0
- package/build/component/fx/preProvisionAction.js +63 -0
- package/build/component/fx/preProvisionAction.js.map +1 -0
- package/build/component/middleware/logger.d.ts +20 -0
- package/build/component/middleware/logger.d.ts.map +1 -0
- package/build/component/middleware/logger.js +50 -0
- package/build/component/middleware/logger.js.map +1 -0
- package/build/component/middleware/progressbar.d.ts +3 -0
- package/build/component/middleware/progressbar.d.ts.map +1 -0
- package/build/component/middleware/progressbar.js +22 -0
- package/build/component/middleware/progressbar.js.map +1 -0
- package/build/component/middleware/runWithCatchError.d.ts +6 -0
- package/build/component/middleware/runWithCatchError.d.ts.map +1 -0
- package/build/component/middleware/runWithCatchError.js +43 -0
- package/build/component/middleware/runWithCatchError.js.map +1 -0
- package/build/component/middleware/telemetry.d.ts +37 -0
- package/build/component/middleware/telemetry.d.ts.map +1 -0
- package/build/component/middleware/telemetry.js +70 -0
- package/build/component/middleware/telemetry.js.map +1 -0
- package/build/component/middleware/types.d.ts +25 -0
- package/build/component/middleware/types.d.ts.map +1 -0
- package/build/component/middleware/types.js +5 -0
- package/build/component/middleware/types.js.map +1 -0
- package/build/component/projectSettingsManager.d.ts +1 -1
- package/build/component/projectSettingsManager.d.ts.map +1 -1
- package/build/component/projectSettingsManager.js +7 -3
- package/build/component/projectSettingsManager.js.map +1 -1
- package/build/component/resource/appManifest/appManifest.d.ts +2 -1
- package/build/component/resource/appManifest/appManifest.d.ts.map +1 -1
- package/build/component/resource/appManifest/appManifest.js +141 -107
- package/build/component/resource/appManifest/appManifest.js.map +1 -1
- package/build/component/resource/appManifest/appStudio.d.ts +10 -3
- package/build/component/resource/appManifest/appStudio.d.ts.map +1 -1
- package/build/component/resource/appManifest/appStudio.js +136 -53
- package/build/component/resource/appManifest/appStudio.js.map +1 -1
- package/build/component/resource/appManifest/manifestProvider.d.ts +8 -0
- package/build/component/resource/appManifest/manifestProvider.d.ts.map +1 -0
- package/build/component/resource/appManifest/manifestProvider.js +27 -0
- package/build/component/resource/appManifest/manifestProvider.js.map +1 -0
- package/build/component/resource/azureFunction.d.ts +5 -3
- package/build/component/resource/azureFunction.d.ts.map +1 -1
- package/build/component/resource/azureFunction.js +55 -19
- package/build/component/resource/azureFunction.js.map +1 -1
- package/build/component/resource/azureResource.d.ts +12 -0
- package/build/component/resource/azureResource.d.ts.map +1 -0
- package/build/component/resource/azureResource.js +62 -0
- package/build/component/resource/azureResource.js.map +1 -0
- package/build/component/resource/azureSql/actions/configure.d.ts +27 -0
- package/build/component/resource/azureSql/actions/configure.d.ts.map +1 -0
- package/build/component/resource/azureSql/actions/configure.js +181 -0
- package/build/component/resource/azureSql/actions/configure.js.map +1 -0
- package/build/component/resource/azureSql/actions/generateBicep.d.ts +3 -0
- package/build/component/resource/azureSql/actions/generateBicep.d.ts.map +1 -0
- package/build/component/resource/azureSql/actions/generateBicep.js +59 -0
- package/build/component/resource/azureSql/actions/generateBicep.js.map +1 -0
- package/build/component/resource/azureSql/actions/provision.d.ts +11 -0
- package/build/component/resource/azureSql/actions/provision.d.ts.map +1 -0
- package/build/component/resource/azureSql/actions/provision.js +76 -0
- package/build/component/resource/azureSql/actions/provision.js.map +1 -0
- package/build/component/resource/{azureSql.d.ts → azureSql/azureSql.d.ts} +3 -4
- package/build/component/resource/azureSql/azureSql.d.ts.map +1 -0
- package/build/component/resource/azureSql/azureSql.js +34 -0
- package/build/component/resource/azureSql/azureSql.js.map +1 -0
- package/build/component/resource/azureSql/clients/management.d.ts +18 -0
- package/build/component/resource/azureSql/clients/management.d.ts.map +1 -0
- package/build/component/resource/azureSql/clients/management.js +111 -0
- package/build/component/resource/azureSql/clients/management.js.map +1 -0
- package/build/component/resource/azureSql/clients/sql.d.ts +13 -0
- package/build/component/resource/azureSql/clients/sql.d.ts.map +1 -0
- package/build/component/resource/azureSql/clients/sql.js +153 -0
- package/build/component/resource/azureSql/clients/sql.js.map +1 -0
- package/build/component/resource/azureSql/config.d.ts +7 -0
- package/build/component/resource/azureSql/config.d.ts.map +1 -0
- package/build/component/resource/azureSql/config.js +77 -0
- package/build/component/resource/azureSql/config.js.map +1 -0
- package/build/component/resource/azureSql/constants.d.ts +85 -0
- package/build/component/resource/azureSql/constants.d.ts.map +1 -0
- package/build/component/resource/azureSql/constants.js +95 -0
- package/build/component/resource/azureSql/constants.js.map +1 -0
- package/build/component/resource/azureSql/errors.d.ts +63 -0
- package/build/component/resource/azureSql/errors.d.ts.map +1 -0
- package/build/component/resource/azureSql/errors.js +107 -0
- package/build/component/resource/azureSql/errors.js.map +1 -0
- package/build/component/resource/azureSql/index.d.ts +2 -0
- package/build/component/resource/azureSql/index.d.ts.map +1 -0
- package/build/component/resource/azureSql/index.js +7 -0
- package/build/component/resource/azureSql/index.js.map +1 -0
- package/build/component/resource/azureSql/questions.d.ts +5 -0
- package/build/component/resource/azureSql/questions.d.ts.map +1 -0
- package/build/component/resource/azureSql/questions.js +48 -0
- package/build/component/resource/azureSql/questions.js.map +1 -0
- package/build/component/resource/azureSql/results.d.ts +10 -0
- package/build/component/resource/azureSql/results.d.ts.map +1 -0
- package/build/component/resource/azureSql/results.js +34 -0
- package/build/component/resource/azureSql/results.js.map +1 -0
- package/build/component/resource/azureSql/types.d.ts +12 -0
- package/build/component/resource/azureSql/types.d.ts.map +1 -0
- package/build/component/resource/azureSql/types.js +5 -0
- package/build/component/resource/azureSql/types.js.map +1 -0
- package/build/component/resource/azureSql/utils/checkInput.d.ts +10 -0
- package/build/component/resource/azureSql/utils/checkInput.d.ts.map +1 -0
- package/build/component/resource/azureSql/utils/checkInput.js +89 -0
- package/build/component/resource/azureSql/utils/checkInput.js.map +1 -0
- package/build/component/resource/azureSql/utils/common.d.ts +12 -0
- package/build/component/resource/azureSql/utils/common.d.ts.map +1 -0
- package/build/component/resource/azureSql/utils/common.js +51 -0
- package/build/component/resource/azureSql/utils/common.js.map +1 -0
- package/build/component/resource/azureStorage.d.ts +16 -3
- package/build/component/resource/azureStorage.d.ts.map +1 -1
- package/build/component/resource/azureStorage.js +51 -28
- package/build/component/resource/azureStorage.js.map +1 -1
- package/build/component/resource/azureWebApp.d.ts +8 -3
- package/build/component/resource/azureWebApp.d.ts.map +1 -1
- package/build/component/resource/azureWebApp.js +39 -35
- package/build/component/resource/azureWebApp.js.map +1 -1
- package/build/component/resource/botService.d.ts.map +1 -1
- package/build/component/resource/botService.js +26 -13
- package/build/component/resource/botService.js.map +1 -1
- package/build/component/resource/identity.d.ts +22 -0
- package/build/component/resource/identity.d.ts.map +1 -0
- package/build/component/resource/identity.js +24 -0
- package/build/component/resource/identity.js.map +1 -0
- package/build/component/utils.d.ts +5 -4
- package/build/component/utils.d.ts.map +1 -1
- package/build/component/utils.js +31 -15
- package/build/component/utils.js.map +1 -1
- package/build/component/workflow.d.ts.map +1 -1
- package/build/component/workflow.js +25 -15
- package/build/component/workflow.js.map +1 -1
- package/build/core/FxCore.d.ts +1 -0
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +67 -47
- package/build/core/FxCore.js.map +1 -1
- package/build/core/collaborator.d.ts.map +1 -1
- package/build/core/collaborator.js +14 -8
- package/build/core/collaborator.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +9 -5
- package/build/core/middleware/projectSettingsLoader.js.map +1 -1
- package/build/core/middleware/questionModel.js +1 -1
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/middleware/questionModelV3.d.ts.map +1 -1
- package/build/core/middleware/questionModelV3.js +125 -5
- package/build/core/middleware/questionModelV3.js.map +1 -1
- package/build/core/question.d.ts +3 -2
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +3 -2
- package/build/core/question.js.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.d.ts +3 -3
- package/build/plugins/resource/aad/aadAppClient.d.ts.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.js +4 -4
- package/build/plugins/resource/aad/aadAppClient.js.map +1 -1
- package/build/plugins/resource/aad/plugin.d.ts.map +1 -1
- package/build/plugins/resource/aad/plugin.js +11 -11
- package/build/plugins/resource/aad/plugin.js.map +1 -1
- package/build/plugins/resource/aad/utils/configs.d.ts +3 -2
- package/build/plugins/resource/aad/utils/configs.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/configs.js +16 -23
- package/build/plugins/resource/aad/utils/configs.js.map +1 -1
- package/build/plugins/resource/aad/utils/tokenProvider.d.ts +2 -3
- package/build/plugins/resource/aad/utils/tokenProvider.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/tokenProvider.js +9 -4
- package/build/plugins/resource/aad/utils/tokenProvider.js.map +1 -1
- package/build/plugins/resource/aad/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/v3/index.js +6 -8
- package/build/plugins/resource/aad/v3/index.js.map +1 -1
- package/build/plugins/resource/apiconnector/plugin.d.ts.map +1 -1
- package/build/plugins/resource/apiconnector/plugin.js +40 -18
- package/build/plugins/resource/apiconnector/plugin.js.map +1 -1
- package/build/plugins/resource/apim/factory.d.ts +4 -4
- package/build/plugins/resource/apim/factory.d.ts.map +1 -1
- package/build/plugins/resource/apim/factory.js +10 -7
- package/build/plugins/resource/apim/factory.js.map +1 -1
- package/build/plugins/resource/apim/index.js +6 -4
- package/build/plugins/resource/apim/index.js.map +1 -1
- package/build/plugins/resource/apim/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/apim/v3/index.js +5 -4
- package/build/plugins/resource/apim/v3/index.js.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.d.ts +0 -4
- package/build/plugins/resource/appstudio/appStudio.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.js +41 -64
- package/build/plugins/resource/appstudio/appStudio.js.map +1 -1
- package/build/plugins/resource/appstudio/constants.d.ts +4 -4
- package/build/plugins/resource/appstudio/constants.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/constants.js +25 -25
- package/build/plugins/resource/appstudio/constants.js.map +1 -1
- package/build/plugins/resource/appstudio/errors.d.ts +1 -1
- package/build/plugins/resource/appstudio/errors.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/errors.js +3 -1
- package/build/plugins/resource/appstudio/errors.js.map +1 -1
- package/build/plugins/resource/appstudio/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/index.js +16 -7
- package/build/plugins/resource/appstudio/index.js.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.js +12 -11
- package/build/plugins/resource/appstudio/manifestTemplate.js.map +1 -1
- package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.js +98 -42
- package/build/plugins/resource/appstudio/plugin.js.map +1 -1
- package/build/plugins/resource/appstudio/utils/utils.d.ts +4 -0
- package/build/plugins/resource/appstudio/utils/utils.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/utils/utils.js +34 -1
- package/build/plugins/resource/appstudio/utils/utils.js.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.d.ts +2 -2
- package/build/plugins/resource/appstudio/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.js +1 -1
- package/build/plugins/resource/appstudio/v2/index.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.d.ts +5 -5
- package/build/plugins/resource/appstudio/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.js +10 -6
- package/build/plugins/resource/appstudio/v3/index.js.map +1 -1
- package/build/plugins/resource/bot/appStudio/appStudio.d.ts.map +1 -1
- package/build/plugins/resource/bot/appStudio/appStudio.js +15 -2
- package/build/plugins/resource/bot/appStudio/appStudio.js.map +1 -1
- package/build/plugins/resource/bot/configs/scaffoldConfig.d.ts +2 -1
- package/build/plugins/resource/bot/configs/scaffoldConfig.d.ts.map +1 -1
- package/build/plugins/resource/bot/configs/scaffoldConfig.js +7 -7
- package/build/plugins/resource/bot/configs/scaffoldConfig.js.map +1 -1
- package/build/plugins/resource/bot/functionsHostedBot/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/functionsHostedBot/plugin.js +2 -1
- package/build/plugins/resource/bot/functionsHostedBot/plugin.js.map +1 -1
- package/build/plugins/resource/bot/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/index.js +19 -47
- package/build/plugins/resource/bot/index.js.map +1 -1
- package/build/plugins/resource/bot/languageStrategy.d.ts.map +1 -1
- package/build/plugins/resource/bot/languageStrategy.js +2 -1
- package/build/plugins/resource/bot/languageStrategy.js.map +1 -1
- package/build/plugins/resource/bot/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/plugin.js +30 -9
- package/build/plugins/resource/bot/plugin.js.map +1 -1
- package/build/plugins/resource/bot/question.d.ts +8 -6
- package/build/plugins/resource/bot/question.d.ts.map +1 -1
- package/build/plugins/resource/bot/question.js +42 -61
- package/build/plugins/resource/bot/question.js.map +1 -1
- package/build/plugins/resource/bot/resources/strings.d.ts +0 -5
- package/build/plugins/resource/bot/resources/strings.d.ts.map +1 -1
- package/build/plugins/resource/bot/resources/strings.js +1 -5
- package/build/plugins/resource/bot/resources/strings.js.map +1 -1
- package/build/plugins/resource/bot/utils/retryHandler.d.ts +1 -1
- package/build/plugins/resource/bot/utils/retryHandler.d.ts.map +1 -1
- package/build/plugins/resource/bot/utils/retryHandler.js +1 -3
- package/build/plugins/resource/bot/utils/retryHandler.js.map +1 -1
- package/build/plugins/resource/bot/v2/common.d.ts +3 -1
- package/build/plugins/resource/bot/v2/common.d.ts.map +1 -1
- package/build/plugins/resource/bot/v2/common.js +23 -9
- package/build/plugins/resource/bot/v2/common.js.map +1 -1
- package/build/plugins/resource/bot/v2/enum.d.ts +5 -1
- package/build/plugins/resource/bot/v2/enum.d.ts.map +1 -1
- package/build/plugins/resource/bot/v2/enum.js +7 -2
- package/build/plugins/resource/bot/v2/enum.js.map +1 -1
- package/build/plugins/resource/bot/v2/mapping.d.ts +2 -0
- package/build/plugins/resource/bot/v2/mapping.d.ts.map +1 -1
- package/build/plugins/resource/bot/v2/mapping.js +27 -10
- package/build/plugins/resource/bot/v2/mapping.js.map +1 -1
- package/build/plugins/resource/bot/v2/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/v2/plugin.js +2 -0
- package/build/plugins/resource/bot/v2/plugin.js.map +1 -1
- package/build/plugins/resource/bot/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/v3/index.js +16 -5
- package/build/plugins/resource/bot/v3/index.js.map +1 -1
- package/build/plugins/resource/cicd/index.d.ts.map +1 -1
- package/build/plugins/resource/cicd/index.js +9 -67
- package/build/plugins/resource/cicd/index.js.map +1 -1
- package/build/plugins/resource/cicd/plugin.d.ts +1 -2
- package/build/plugins/resource/cicd/plugin.d.ts.map +1 -1
- package/build/plugins/resource/cicd/plugin.js +3 -8
- package/build/plugins/resource/cicd/plugin.js.map +1 -1
- package/build/plugins/resource/cicd/providers/provider.d.ts +2 -2
- package/build/plugins/resource/cicd/providers/provider.d.ts.map +1 -1
- package/build/plugins/resource/cicd/providers/provider.js +28 -10
- package/build/plugins/resource/cicd/providers/provider.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/plugin.js +6 -3
- package/build/plugins/resource/frontend/dotnet/plugin.js.map +1 -1
- package/build/plugins/resource/function/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/function/v3/index.js +2 -1
- package/build/plugins/resource/function/v3/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.js +1 -1
- package/build/plugins/resource/simpleauth/plugin.js.map +1 -1
- package/build/plugins/resource/spfx/depsChecker/generatorChecker.d.ts +0 -1
- package/build/plugins/resource/spfx/depsChecker/generatorChecker.d.ts.map +1 -1
- package/build/plugins/resource/spfx/depsChecker/generatorChecker.js +0 -14
- package/build/plugins/resource/spfx/depsChecker/generatorChecker.js.map +1 -1
- package/build/plugins/resource/spfx/depsChecker/yoChecker.d.ts +0 -2
- package/build/plugins/resource/spfx/depsChecker/yoChecker.d.ts.map +1 -1
- package/build/plugins/resource/spfx/depsChecker/yoChecker.js +1 -43
- package/build/plugins/resource/spfx/depsChecker/yoChecker.js.map +1 -1
- package/build/plugins/resource/spfx/error.d.ts +2 -0
- package/build/plugins/resource/spfx/error.d.ts.map +1 -1
- package/build/plugins/resource/spfx/error.js +9 -1
- package/build/plugins/resource/spfx/error.js.map +1 -1
- package/build/plugins/resource/spfx/index.d.ts.map +1 -1
- package/build/plugins/resource/spfx/index.js +4 -2
- package/build/plugins/resource/spfx/index.js.map +1 -1
- package/build/plugins/resource/spfx/plugin.d.ts.map +1 -1
- package/build/plugins/resource/spfx/plugin.js +15 -13
- package/build/plugins/resource/spfx/plugin.js.map +1 -1
- package/build/plugins/resource/spfx/utils/constants.d.ts +3 -0
- package/build/plugins/resource/spfx/utils/constants.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/constants.js +3 -0
- package/build/plugins/resource/spfx/utils/constants.js.map +1 -1
- package/build/plugins/resource/spfx/utils/questions.d.ts +3 -1
- package/build/plugins/resource/spfx/utils/questions.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/questions.js +28 -2
- package/build/plugins/resource/spfx/utils/questions.js.map +1 -1
- package/build/plugins/resource/spfx/utils/utils.d.ts +4 -0
- package/build/plugins/resource/spfx/utils/utils.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/utils.js +37 -0
- package/build/plugins/resource/spfx/utils/utils.js.map +1 -1
- package/build/plugins/resource/spfx/v3/plugin.d.ts.map +1 -1
- package/build/plugins/resource/spfx/v3/plugin.js +18 -13
- package/build/plugins/resource/spfx/v3/plugin.js.map +1 -1
- package/build/plugins/resource/utils4v2.d.ts.map +1 -1
- package/build/plugins/resource/utils4v2.js +9 -19
- package/build/plugins/resource/utils4v2.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +2 -5
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.js +5 -21
- package/build/plugins/solution/fx-solution/commonQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/constants.d.ts +3 -1
- package/build/plugins/solution/fx-solution/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/constants.js +2 -0
- package/build/plugins/solution/fx-solution/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts +2 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js +3 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasks.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasks.js +1 -2
- package/build/plugins/solution/fx-solution/debug/util/tasks.js.map +1 -1
- package/build/plugins/solution/fx-solution/question.d.ts +1 -0
- package/build/plugins/solution/fx-solution/question.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/question.js +4 -2
- package/build/plugins/solution/fx-solution/question.js.map +1 -1
- package/build/plugins/solution/fx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/solution.js +89 -69
- package/build/plugins/solution/fx-solution/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/adaptor.d.ts +2 -3
- package/build/plugins/solution/fx-solution/v2/adaptor.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/adaptor.js +3 -6
- package/build/plugins/solution/fx-solution/v2/adaptor.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/checkPermission.js +6 -6
- package/build/plugins/solution/fx-solution/v2/checkPermission.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.d.ts +3 -3
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.js +7 -5
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/deploy.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/deploy.js +10 -3
- package/build/plugins/solution/fx-solution/v2/deploy.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js +7 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.js +4 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/grantPermission.js +7 -7
- package/build/plugins/solution/fx-solution/v2/grantPermission.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js +6 -6
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.js +7 -2
- package/build/plugins/solution/fx-solution/v2/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js +12 -3
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/publish.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/publish.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/publish.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/utils.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.js +9 -3
- package/build/plugins/solution/fx-solution/v2/utils.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addFeature.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v3/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.js +13 -8
- package/build/plugins/solution/fx-solution/v3/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/publish.d.ts +3 -3
- package/build/plugins/solution/fx-solution/v3/publish.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/publish.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/solution.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v3/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/solution.js.map +1 -1
- package/build/plugins/solution/spfx-solution/addFeature.d.ts +2 -2
- package/build/plugins/solution/spfx-solution/addFeature.d.ts.map +1 -1
- package/build/plugins/solution/spfx-solution/addFeature.js.map +1 -1
- package/package.json +4 -4
- package/resource/package.nls.cs.json +884 -641
- package/resource/package.nls.de.json +884 -641
- package/resource/package.nls.es.json +884 -641
- package/resource/package.nls.fr.json +884 -641
- package/resource/package.nls.it.json +884 -641
- package/resource/package.nls.ja.json +884 -641
- package/resource/package.nls.json +11 -2
- package/resource/package.nls.ko.json +884 -641
- package/resource/package.nls.pl.json +884 -641
- package/resource/package.nls.pt-BR.json +884 -641
- package/resource/package.nls.ru.json +884 -641
- package/resource/package.nls.tr.json +884 -641
- package/resource/package.nls.zh-Hans.json +884 -641
- package/resource/package.nls.zh-Hant.json +884 -641
- package/templates/bicep/azureFunction.config.module.bicep +62 -0
- package/templates/bicep/azureFunction.config.orchestration.bicep +12 -0
- package/templates/bicep/azureFunction.parameters.json +4 -0
- package/templates/bicep/azureFunction.provision.module.bicep +97 -0
- package/templates/bicep/azureFunction.provision.orchestration.bicep +17 -0
- package/templates/bicep/azureSql.provisionDatabase.orchestration.bicep +1 -1
- package/templates/bicep/azureStorage.provision.module.bicep +25 -0
- package/templates/bicep/azureStorage.provision.orchestration.bicep +15 -0
- package/templates/bicep/azureWebApp.provision.module.bicep +12 -5
- package/templates/bicep/identity.provision.module.bicep +15 -0
- package/templates/bicep/identity.provision.orchestration.bicep +14 -0
- package/templates/bicep/main.bicep +1 -1
- package/templates/fallback/bot.csharp.command-and-response.zip +0 -0
- package/templates/fallback/bot.csharp.default.zip +0 -0
- package/templates/fallback/bot.csharp.notification-function-base.zip +0 -0
- package/templates/fallback/bot.csharp.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.csharp.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.csharp.notification-webapi.zip +0 -0
- package/templates/fallback/bot.js.command-and-response.zip +0 -0
- package/templates/fallback/bot.js.default.zip +0 -0
- package/templates/fallback/bot.js.m365.zip +0 -0
- package/templates/fallback/bot.js.notification-function-base.zip +0 -0
- package/templates/fallback/bot.js.notification-restify.zip +0 -0
- package/templates/fallback/bot.js.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.js.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.ts.command-and-response.zip +0 -0
- package/templates/fallback/bot.ts.default.zip +0 -0
- package/templates/fallback/bot.ts.m365.zip +0 -0
- package/templates/fallback/bot.ts.notification-function-base.zip +0 -0
- package/templates/fallback/bot.ts.notification-restify.zip +0 -0
- package/templates/fallback/bot.ts.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.ts.notification-trigger-timer.zip +0 -0
- package/templates/fallback/function-base.js.default.zip +0 -0
- package/templates/fallback/function-base.ts.default.zip +0 -0
- package/templates/fallback/function-triggers.js.HTTPTrigger.zip +0 -0
- package/templates/fallback/function-triggers.ts.HTTPTrigger.zip +0 -0
- package/templates/fallback/tab.csharp.default.zip +0 -0
- package/templates/fallback/tab.js.default.zip +0 -0
- package/templates/fallback/tab.js.m365.zip +0 -0
- package/templates/fallback/tab.js.non-sso.zip +0 -0
- package/templates/fallback/tab.ts.default.zip +0 -0
- package/templates/fallback/tab.ts.m365.zip +0 -0
- package/templates/fallback/tab.ts.non-sso.zip +0 -0
- package/templates/plugins/resource/hosting/bicep/function/functionProvision.template.bicep +12 -6
- package/build/component/resource/azureSql.d.ts.map +0 -1
- package/build/component/resource/azureSql.js +0 -119
- package/build/component/resource/azureSql.js.map +0 -1
- package/templates/fallback/blazor-base.csharp.default.zip +0 -0
- package/templates/fallback/bot.ts.notification.zip +0 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// Auto generated content, please customize files under provision folder
|
|
2
|
+
|
|
3
|
+
@secure()
|
|
4
|
+
param provisionParameters object
|
|
5
|
+
param provisionOutputs object
|
|
6
|
+
@secure()
|
|
7
|
+
param currentAppSettings object
|
|
8
|
+
|
|
9
|
+
var functionAppName = split({{azure-function.outputs.resourceId}}, '/')[8]
|
|
10
|
+
{{#if (contains "aad" connections)}}
|
|
11
|
+
var m365ClientId = provisionParameters['m365ClientId']
|
|
12
|
+
{{#if (contains "key-vault" connections) }}
|
|
13
|
+
var m365ClientSecret = {{key-vault.outputs.m365ClientSecretReference}}
|
|
14
|
+
{{else}}
|
|
15
|
+
var m365ClientSecret = provisionParameters['m365ClientSecret']
|
|
16
|
+
{{/if}}
|
|
17
|
+
var m365TenantId = provisionParameters['m365TenantId']
|
|
18
|
+
var m365OauthAuthorityHost = provisionParameters['m365OauthAuthorityHost']
|
|
19
|
+
{{#if (contains "bot-service" connections) }}
|
|
20
|
+
var botId = provisionParameters['botAadAppClientId']
|
|
21
|
+
{{#if (contains "teams-tab" connections)}}
|
|
22
|
+
var m365ApplicationIdUri = 'api://${ {{tabDomainVarName}} }/botid-${botId}'
|
|
23
|
+
{{else}}
|
|
24
|
+
var m365ApplicationIdUri = 'api://botid-${botId}'
|
|
25
|
+
{{/if}}
|
|
26
|
+
{{else}}
|
|
27
|
+
var m365ApplicationIdUri = 'api://${ {{tabDomainVarName}} }'
|
|
28
|
+
{{/if}}
|
|
29
|
+
{{/if}}
|
|
30
|
+
{{#if (contains "teams-bot" connections)}}
|
|
31
|
+
var botAadAppClientId = provisionParameters['botAadAppClientId']
|
|
32
|
+
{{#if (contains "key-vault" connections) }}
|
|
33
|
+
var botAadAppClientSecret = {{key-vault.outputs.botClientSecretReference}}
|
|
34
|
+
{{else}}
|
|
35
|
+
var botAadAppClientSecret = provisionParameters['botAadAppClientSecret']
|
|
36
|
+
{{/if}}
|
|
37
|
+
{{/if}}
|
|
38
|
+
|
|
39
|
+
resource functionAppSettings 'Microsoft.Web/sites/config@2021-02-01' = {
|
|
40
|
+
name: '${functionAppName}/appsettings'
|
|
41
|
+
properties: union({
|
|
42
|
+
{{#if (contains "aad" connections)}}
|
|
43
|
+
INITIATE_LOGIN_ENDPOINT: uri({{azure-web-app.outputs.endpoint}}, 'auth-start.html') // The page is used to let users consent required OAuth permissions during bot SSO process
|
|
44
|
+
M365_AUTHORITY_HOST: m365OauthAuthorityHost // AAD authority host
|
|
45
|
+
M365_CLIENT_ID: m365ClientId // Client id of AAD application
|
|
46
|
+
M365_CLIENT_SECRET: m365ClientSecret // Client secret of AAD application
|
|
47
|
+
M365_TENANT_ID: m365TenantId // Tenant id of AAD application
|
|
48
|
+
M365_APPLICATION_ID_URI: m365ApplicationIdUri // Application ID URI of AAD application
|
|
49
|
+
{{/if}}
|
|
50
|
+
{{#if (contains "teams-bot" connections)}}
|
|
51
|
+
BOT_ID: botAadAppClientId // ID of your bot
|
|
52
|
+
BOT_PASSWORD: botAadAppClientSecret // Secret of your bot
|
|
53
|
+
{{/if}}
|
|
54
|
+
{{#if (contains "azure-sql" connections)}}
|
|
55
|
+
SQL_DATABASE_NAME: {{azure-sql.outputs.sqlDatabaseName}} // SQL database name
|
|
56
|
+
SQL_ENDPOINT: {{azure-sql.outputs.sqlEndpoint}} // SQL server endpoint
|
|
57
|
+
{{/if}}
|
|
58
|
+
{{#if (contains "identity" connections)}}
|
|
59
|
+
IDENTITY_ID: {{identity.outputs.identityClientId}} // User assigned identity id, the identity is used to access other Azure resources
|
|
60
|
+
{{/if}}
|
|
61
|
+
}, currentAppSettings)
|
|
62
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Get existing app settings for merge
|
|
2
|
+
var currentAppSettings = list('${provisionOutputs.azureFunctionOutput.value.resourceId}/config/appsettings', '2021-02-01').properties
|
|
3
|
+
|
|
4
|
+
// Merge TeamsFx configurations to Azure Function App
|
|
5
|
+
module teamsFxAzureFunctionConfig './teamsFx/azureFunctionConfig.bicep' = {
|
|
6
|
+
name: 'teamsFxAzureFunctionConfig'
|
|
7
|
+
params: {
|
|
8
|
+
provisionParameters: provisionParameters
|
|
9
|
+
provisionOutputs: provisionOutputs
|
|
10
|
+
currentAppSettings: currentAppSettings
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
@secure()
|
|
2
|
+
param provisionParameters object
|
|
3
|
+
|
|
4
|
+
var resourceBaseName = provisionParameters.resourceBaseName
|
|
5
|
+
var serverfarmsName = contains(provisionParameters, 'functionServerfarmsName') ? provisionParameters['botServerfarmsName'] : '${resourceBaseName}bot' // Try to read name for App Service Plan from parameters
|
|
6
|
+
var functionAppSKU = contains(provisionParameters, 'functionAppSKU') ? provisionParameters['botfunctionAppSKU'] : 'B1' // Try to read SKU for Azure Web App from parameters
|
|
7
|
+
var functionAppName = contains(provisionParameters, 'SitesName') ? provisionParameters['botSitesName'] : '${resourceBaseName}bot' // Try to read name for Azure Web App from parameters
|
|
8
|
+
var storageName = contains(provisionParameters, 'StorageName') ? provisionParameters['botStorageName'] : '${resourceBaseName}bot' // Try to read name for Azure Storage from parameters
|
|
9
|
+
var storageSku = contains(provisionParameters, 'StorageSku') ? provisionParameters['botStorageSku'] : 'Standard_LRS' // Try to read SKU for Azure Storage from parameters
|
|
10
|
+
|
|
11
|
+
// Compute resources for your Web App
|
|
12
|
+
resource serverfarm 'Microsoft.Web/serverfarms@2021-02-01' = {
|
|
13
|
+
kind: 'functionapp'
|
|
14
|
+
location: resourceGroup().location
|
|
15
|
+
name: serverfarmsName
|
|
16
|
+
sku: {
|
|
17
|
+
name: functionAppSKU
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Azure Function that host your app
|
|
22
|
+
resource functionApp 'Microsoft.Web/sites@2021-02-01' = {
|
|
23
|
+
kind: 'functionapp'
|
|
24
|
+
location: resourceGroup().location
|
|
25
|
+
name: functionAppName
|
|
26
|
+
properties: {
|
|
27
|
+
serverFarmId: serverfarm.id
|
|
28
|
+
httpsOnly: true
|
|
29
|
+
siteConfig: {
|
|
30
|
+
alwaysOn: true
|
|
31
|
+
appSettings: [
|
|
32
|
+
{
|
|
33
|
+
name: 'AzureWebJobsDashboard'
|
|
34
|
+
value: 'DefaultEndpointsProtocol=https;AccountName=${storage.name};AccountKey=${listKeys(storage.id, storage.apiVersion).keys[0].value};EndpointSuffix=${environment().suffixes.storage}' // Azure Function internal setting
|
|
35
|
+
}
|
|
36
|
+
{
|
|
37
|
+
name: 'AzureWebJobsStorage'
|
|
38
|
+
value: 'DefaultEndpointsProtocol=https;AccountName=${storage.name};AccountKey=${listKeys(storage.id, storage.apiVersion).keys[0].value};EndpointSuffix=${environment().suffixes.storage}' // Azure Function internal setting
|
|
39
|
+
}
|
|
40
|
+
{
|
|
41
|
+
name: 'FUNCTIONS_EXTENSION_VERSION'
|
|
42
|
+
value: '~4' // Use Azure Function runtime v4
|
|
43
|
+
}
|
|
44
|
+
{{#if (contains "node" configs)}}
|
|
45
|
+
{
|
|
46
|
+
name: 'FUNCTIONS_WORKER_RUNTIME'
|
|
47
|
+
value: 'node' // Set runtime to NodeJS
|
|
48
|
+
}
|
|
49
|
+
{
|
|
50
|
+
name: 'WEBSITE_NODE_DEFAULT_VERSION'
|
|
51
|
+
value: '~16' // Set NodeJS version to 16.x
|
|
52
|
+
}
|
|
53
|
+
{{/if}}
|
|
54
|
+
{{#if (contains "dotnet" configs)}}
|
|
55
|
+
{
|
|
56
|
+
name: 'FUNCTIONS_WORKER_RUNTIME'
|
|
57
|
+
value: 'dotnet' // Set runtime to .NET
|
|
58
|
+
}
|
|
59
|
+
{{/if}}
|
|
60
|
+
{
|
|
61
|
+
name: 'WEBSITE_CONTENTAZUREFILECONNECTIONSTRING'
|
|
62
|
+
value: 'DefaultEndpointsProtocol=https;AccountName=${storage.name};AccountKey=${listKeys(storage.id, storage.apiVersion).keys[0].value};EndpointSuffix=${environment().suffixes.storage}' // Azure Function internal setting
|
|
63
|
+
}
|
|
64
|
+
{
|
|
65
|
+
name: 'WEBSITE_RUN_FROM_PACKAGE'
|
|
66
|
+
value: '1' // Run Azure Function from a package file
|
|
67
|
+
}
|
|
68
|
+
{
|
|
69
|
+
name: 'RUNNING_ON_AZURE'
|
|
70
|
+
value: '1'
|
|
71
|
+
}
|
|
72
|
+
{
|
|
73
|
+
name: 'SCM_ZIPDEPLOY_DONOT_PRESERVE_FILETIME'
|
|
74
|
+
value: '1' // Zipdeploy files will always be updated. Detail: https://aka.ms/teamsfx-zipdeploy-donot-preserve-filetime
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
ftpsState: 'FtpsOnly'
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Azure Storage is required when creating Azure Function instance
|
|
83
|
+
resource storage 'Microsoft.Storage/storageAccounts@2021-06-01' = {
|
|
84
|
+
name: storageName
|
|
85
|
+
kind: 'StorageV2'
|
|
86
|
+
location: resourceGroup().location
|
|
87
|
+
sku: {
|
|
88
|
+
name: storageSku // You can follow https://aka.ms/teamsfx-bicep-add-param-tutorial to add functionStorageSku property to provisionParameters to override the default value "Standard_LRS".
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
output sku string = functionAppSKU
|
|
93
|
+
output appName string = functionAppName
|
|
94
|
+
output domain string = functionApp.properties.defaultHostName
|
|
95
|
+
output appServicePlanName string = serverfarmsName
|
|
96
|
+
output resourceId string = functionApp.id
|
|
97
|
+
output endpoint string = 'https://${functionApp.properties.defaultHostName}'
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Resources Azure Function App
|
|
2
|
+
module azureFunctionProvision './provision/azureFunction.bicep' = {
|
|
3
|
+
name: 'azureFunctionProvision'
|
|
4
|
+
params: {
|
|
5
|
+
provisionParameters: provisionParameters
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
output azureFunctionOutput object = {
|
|
10
|
+
teamsFxPluginId: 'azure-function'
|
|
11
|
+
sku: azureFunctionProvision.outputs.sku
|
|
12
|
+
appName: azureFunctionProvision.outputs.appName
|
|
13
|
+
domain: azureFunctionProvision.outputs.domain
|
|
14
|
+
appServicePlanName: azureFunctionProvision.outputs.appServicePlanName
|
|
15
|
+
resourceId: azureFunctionProvision.outputs.resourceId
|
|
16
|
+
endpoint: azureFunctionProvision.outputs.endpoint
|
|
17
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@secure()
|
|
2
|
+
param provisionParameters object
|
|
3
|
+
var resourceBaseName = provisionParameters.resourceBaseName
|
|
4
|
+
var storageName = contains(provisionParameters, 'frontendHostingStorageName') ? provisionParameters['frontendHostingStorageName'] : '${resourceBaseName}tab' // Try to read name for frontend hosting Storage Account from parameters
|
|
5
|
+
var storageSku = contains(provisionParameters, 'frontendHostingStorageSku') ? provisionParameters['frontendHostingStorageSku'] : 'Standard_LRS' // Try to read SKU for frontend hosting Storage Account from parameters
|
|
6
|
+
|
|
7
|
+
// Azure Storage that hosts your static web site
|
|
8
|
+
resource storage 'Microsoft.Storage/storageAccounts@2021-06-01' = {
|
|
9
|
+
kind: 'StorageV2'
|
|
10
|
+
location: resourceGroup().location
|
|
11
|
+
name: storageName
|
|
12
|
+
properties: {
|
|
13
|
+
supportsHttpsTrafficOnly: true
|
|
14
|
+
}
|
|
15
|
+
sku: {
|
|
16
|
+
name: storageSku // You can follow https://aka.ms/teamsfx-bicep-add-param-tutorial to add frontendHostingStorageSku property to provisionParameters to override the default value "Standard_LRS".
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
var siteDomain = replace(replace(storage.properties.primaryEndpoints.web, 'https://', ''), '/', '')
|
|
21
|
+
|
|
22
|
+
output resourceId string = storage.id
|
|
23
|
+
output endpoint string = 'https://${siteDomain}'
|
|
24
|
+
output domain string = siteDomain
|
|
25
|
+
output indexPath string = '/index.html#'
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Resources for frontend hosting
|
|
2
|
+
module azureStorageProvision './provision/azureStorage.bicep' = {
|
|
3
|
+
name: 'azureStorageProvision'
|
|
4
|
+
params: {
|
|
5
|
+
provisionParameters: provisionParameters
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
output azureStorageOutput object = {
|
|
10
|
+
teamsFxPluginId: 'azure-storage'
|
|
11
|
+
domain: azureStorageProvision.outputs.domain
|
|
12
|
+
endpoint: azureStorageProvision.outputs.endpoint
|
|
13
|
+
indexPath: azureStorageProvision.outputs.indexPath
|
|
14
|
+
resourceId: azureStorageProvision.outputs.resourceId
|
|
15
|
+
}
|
|
@@ -5,7 +5,7 @@ var resourceBaseName = provisionParameters.resourceBaseName
|
|
|
5
5
|
var serverfarmsName = contains(provisionParameters, 'webAppServerfarmsName') ? provisionParameters['webAppServerfarmsName'] : '${resourceBaseName}webApp' // Try to read name for App Service Plan from parameters
|
|
6
6
|
var webAppSKU = contains(provisionParameters, 'webAppSKU') ? provisionParameters['webAppSKU'] : 'F1' // Try to read SKU for Azure Web App from parameters
|
|
7
7
|
var webAppName = contains(provisionParameters, 'webAppSitesName') ? provisionParameters['webAppSitesName'] : '${resourceBaseName}webApp' // Try to read name for Azure Web App from parameters
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
// Compute resources for your Web App
|
|
10
10
|
resource serverfarm 'Microsoft.Web/serverfarms@2021-02-01' = {
|
|
11
11
|
kind: 'app'
|
|
@@ -25,14 +25,21 @@ resource webApp 'Microsoft.Web/sites@2021-02-01' = {
|
|
|
25
25
|
serverFarmId: serverfarm.id
|
|
26
26
|
siteConfig: {
|
|
27
27
|
appSettings: [
|
|
28
|
-
{
|
|
29
|
-
name: 'SCM_DO_BUILD_DURING_DEPLOYMENT'
|
|
30
|
-
value: 'true' // Execute build steps on your site during deployment
|
|
31
|
-
}
|
|
28
|
+
{{#if (contains "node" configs)}}
|
|
32
29
|
{
|
|
33
30
|
name: 'WEBSITE_NODE_DEFAULT_VERSION'
|
|
34
31
|
value: '~14' // Set NodeJS version to 14.x for your site
|
|
35
32
|
}
|
|
33
|
+
{
|
|
34
|
+
name: 'SCM_SCRIPT_GENERATOR_ARGS'
|
|
35
|
+
value: '--node' // Register as node server
|
|
36
|
+
}
|
|
37
|
+
{{else}}
|
|
38
|
+
{
|
|
39
|
+
name: 'SCM_DO_BUILD_DURING_DEPLOYMENT'
|
|
40
|
+
value: 'true' // Execute build steps on your site during deployment
|
|
41
|
+
}
|
|
42
|
+
{{/if}}
|
|
36
43
|
{
|
|
37
44
|
name: 'RUNNING_ON_AZURE'
|
|
38
45
|
value: '1'
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@secure()
|
|
2
|
+
param provisionParameters object
|
|
3
|
+
var resourceBaseName = provisionParameters.resourceBaseName
|
|
4
|
+
var identityName = contains(provisionParameters, 'userAssignedIdentityName') ? provisionParameters['userAssignedIdentityName'] : '${resourceBaseName}' // Try to read name for user assigned identity from parameters
|
|
5
|
+
|
|
6
|
+
// user assigned identity will be used to access other Azure resources
|
|
7
|
+
resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2018-11-30' = {
|
|
8
|
+
name: identityName
|
|
9
|
+
location: resourceGroup().location
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
output identityName string = identityName
|
|
13
|
+
output identityClientId string = managedIdentity.properties.clientId
|
|
14
|
+
output identityResourceId string = managedIdentity.id
|
|
15
|
+
output identityPrincipalId string = managedIdentity.properties.principalId
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Resources for identity
|
|
2
|
+
module userAssignedIdentityProvision './provision/identity.bicep' = {
|
|
3
|
+
name: 'userAssignedIdentityProvision'
|
|
4
|
+
params: {
|
|
5
|
+
provisionParameters: provisionParameters
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
output identityOutput object = {
|
|
10
|
+
teamsFxPluginId: 'identity'
|
|
11
|
+
identityName: userAssignedIdentityProvision.outputs.identityName
|
|
12
|
+
identityResourceId: userAssignedIdentityProvision.outputs.identityResourceId
|
|
13
|
+
identityClientId: userAssignedIdentityProvision.outputs.identityClientId
|
|
14
|
+
}
|
|
@@ -9,7 +9,7 @@ module provision './provision.bicep' = {
|
|
|
9
9
|
}
|
|
10
10
|
output provisionOutput object = provision
|
|
11
11
|
module config './config.bicep' = {
|
|
12
|
-
name: '
|
|
12
|
+
name: 'configureResources'
|
|
13
13
|
params: {
|
|
14
14
|
provisionParameters: provisionParameters
|
|
15
15
|
provisionOutputs: provision
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -53,10 +53,22 @@ resource functionApp 'Microsoft.Web/sites@2021-02-01' = {
|
|
|
53
53
|
name: 'FUNCTIONS_EXTENSION_VERSION'
|
|
54
54
|
value: '~4' // Use Azure Functions runtime v4
|
|
55
55
|
}
|
|
56
|
+
{{#if (contains "node" configs)}}
|
|
56
57
|
{
|
|
57
58
|
name: 'FUNCTIONS_WORKER_RUNTIME'
|
|
58
59
|
value: 'node' // Set runtime to NodeJS
|
|
59
60
|
}
|
|
61
|
+
{
|
|
62
|
+
name: 'WEBSITE_NODE_DEFAULT_VERSION'
|
|
63
|
+
value: '~16' // Set NodeJS version to 16.x
|
|
64
|
+
}
|
|
65
|
+
{{/if}}
|
|
66
|
+
{{#if (contains "dotnet" configs)}}
|
|
67
|
+
{
|
|
68
|
+
name: 'FUNCTIONS_WORKER_RUNTIME'
|
|
69
|
+
value: 'dotnet' // Set runtime to .NET
|
|
70
|
+
}
|
|
71
|
+
{{/if}}
|
|
60
72
|
{
|
|
61
73
|
name: 'WEBSITE_CONTENTAZUREFILECONNECTIONSTRING'
|
|
62
74
|
value: 'DefaultEndpointsProtocol=https;AccountName=${storage.name};AccountKey=${listKeys(storage.id, storage.apiVersion).keys[0].value};EndpointSuffix=${environment().suffixes.storage}' // Azure Functions internal setting
|
|
@@ -65,12 +77,6 @@ resource functionApp 'Microsoft.Web/sites@2021-02-01' = {
|
|
|
65
77
|
name: 'WEBSITE_RUN_FROM_PACKAGE'
|
|
66
78
|
value: '1' // Run Azure Functions from a package file
|
|
67
79
|
}
|
|
68
|
-
{{#if (contains "node" configs)}}
|
|
69
|
-
{
|
|
70
|
-
name: 'WEBSITE_NODE_DEFAULT_VERSION'
|
|
71
|
-
value: '~16' // Set NodeJS version to 16.x
|
|
72
|
-
}
|
|
73
|
-
{{/if}}
|
|
74
80
|
{{#if (contains "running-on-azure" configs)}}
|
|
75
81
|
{
|
|
76
82
|
name: 'RUNNING_ON_AZURE'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"azureSql.d.ts","sourceRoot":"","sources":["../../../src/component/resource/azureSql.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,OAAO,EAEP,MAAM,EACN,MAAM,EAEN,aAAa,EACb,SAAS,EACT,YAAY,EACZ,qBAAqB,EACtB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,kBAAkB,CAAC;AAI1B,qBACa,gBAAiB,YAAW,aAAa;IACpD,QAAQ,CAAC,IAAI,WAAW;IACxB,QAAQ,CAAC,IAAI,eAAe;IAC5B,OAAO;;;;;;;;;;;;;MAaL;IACF,eAAe,WAAiD;IAChE,aAAa,CACX,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,qBAAqB,GAC5B,YAAY,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC;IAmDpD,SAAS,CACP,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,qBAAqB,GAC5B,YAAY,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC;IAkBpD,SAAS,CACP,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,qBAAqB,GAC5B,YAAY,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC;CAcrD"}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.AzureSqlResource = void 0;
|
|
6
|
-
const tslib_1 = require("tslib");
|
|
7
|
-
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
8
|
-
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
9
|
-
const path = tslib_1.__importStar(require("path"));
|
|
10
|
-
require("reflect-metadata");
|
|
11
|
-
const typedi_1 = require("typedi");
|
|
12
|
-
const tools_1 = require("../../common/tools");
|
|
13
|
-
const folder_1 = require("../../folder");
|
|
14
|
-
let AzureSqlResource = class AzureSqlResource {
|
|
15
|
-
constructor() {
|
|
16
|
-
this.type = "cloud";
|
|
17
|
-
this.name = "azure-sql";
|
|
18
|
-
this.outputs = {
|
|
19
|
-
sqlResourceId: {
|
|
20
|
-
key: "resourceId",
|
|
21
|
-
bicepVariable: "provisionOutputs.azureSqlOutput.value.resourceId",
|
|
22
|
-
},
|
|
23
|
-
sqlEndpoint: {
|
|
24
|
-
key: "endpoint",
|
|
25
|
-
bicepVariable: "provisionOutputs.azureSqlOutput.value.sqlEndpoint",
|
|
26
|
-
},
|
|
27
|
-
sqlDatabaseName: {
|
|
28
|
-
key: "databaseName",
|
|
29
|
-
bicepVariable: "provisionOutputs.azureSqlOutput.value.sqlDatabaseName",
|
|
30
|
-
},
|
|
31
|
-
};
|
|
32
|
-
this.finalOutputKeys = ["sqlResourceId", "endpoint", "databaseName"];
|
|
33
|
-
}
|
|
34
|
-
generateBicep(context, inputs) {
|
|
35
|
-
const action = {
|
|
36
|
-
name: "azure-sql.generateBicep",
|
|
37
|
-
type: "function",
|
|
38
|
-
plan: async (context, inputs) => {
|
|
39
|
-
const bicep = {
|
|
40
|
-
type: "bicep",
|
|
41
|
-
Provision: {
|
|
42
|
-
Modules: { azureSql: "1" },
|
|
43
|
-
Orchestration: "1",
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
if (inputs.provisionType === "database") {
|
|
47
|
-
bicep.Parameters = {};
|
|
48
|
-
}
|
|
49
|
-
return teamsfx_api_1.ok([bicep]);
|
|
50
|
-
},
|
|
51
|
-
execute: async (context, inputs) => {
|
|
52
|
-
const prefix = inputs.provisionType === "database"
|
|
53
|
-
? "azureSql.provisionDatabase"
|
|
54
|
-
: "azureSql.provisionServer";
|
|
55
|
-
const mPath = path.join(folder_1.getTemplatesFolder(), "bicep", `${prefix}.module.bicep`);
|
|
56
|
-
const oPath = path.join(folder_1.getTemplatesFolder(), "bicep", `${prefix}.orchestration.bicep`);
|
|
57
|
-
let module = await fs_extra_1.default.readFile(mPath, "utf-8");
|
|
58
|
-
let orch = await fs_extra_1.default.readFile(oPath, "utf-8");
|
|
59
|
-
const suffix = tools_1.getUuid().substring(0, 6);
|
|
60
|
-
const compileCtx = {
|
|
61
|
-
suffix: suffix,
|
|
62
|
-
};
|
|
63
|
-
if (inputs.provisionType === "database") {
|
|
64
|
-
module = await tools_1.generateBicepFromFile(mPath, compileCtx);
|
|
65
|
-
orch = await tools_1.generateBicepFromFile(oPath, compileCtx);
|
|
66
|
-
}
|
|
67
|
-
const bicep = {
|
|
68
|
-
type: "bicep",
|
|
69
|
-
Provision: {
|
|
70
|
-
Modules: { azureSql: module },
|
|
71
|
-
Orchestration: orch,
|
|
72
|
-
},
|
|
73
|
-
};
|
|
74
|
-
if (inputs.provisionType === "server") {
|
|
75
|
-
bicep.Parameters = await fs_extra_1.default.readJson(path.join(folder_1.getTemplatesFolder(), "bicep", "azureSql.parameters.json"));
|
|
76
|
-
}
|
|
77
|
-
return teamsfx_api_1.ok([bicep]);
|
|
78
|
-
},
|
|
79
|
-
};
|
|
80
|
-
return teamsfx_api_1.ok(action);
|
|
81
|
-
}
|
|
82
|
-
provision(context, inputs) {
|
|
83
|
-
//TODO
|
|
84
|
-
const action = {
|
|
85
|
-
name: "azure-sql.provision",
|
|
86
|
-
type: "function",
|
|
87
|
-
question: (context, inputs) => {
|
|
88
|
-
return teamsfx_api_1.ok(undefined);
|
|
89
|
-
},
|
|
90
|
-
plan: (context, inputs) => {
|
|
91
|
-
return teamsfx_api_1.ok(["collect user inputs for sql account"]);
|
|
92
|
-
},
|
|
93
|
-
execute: async (context, inputs) => {
|
|
94
|
-
context.envInfo.state["azure-sql"].password = "MockSqlPassword";
|
|
95
|
-
return teamsfx_api_1.ok([{ type: "service", name: "azure", remarks: "configure azure-sql" }]);
|
|
96
|
-
},
|
|
97
|
-
};
|
|
98
|
-
return teamsfx_api_1.ok(undefined);
|
|
99
|
-
}
|
|
100
|
-
configure(context, inputs) {
|
|
101
|
-
const action = {
|
|
102
|
-
name: "azure-sql.configure",
|
|
103
|
-
type: "function",
|
|
104
|
-
plan: (context, inputs) => {
|
|
105
|
-
return teamsfx_api_1.ok([{ type: "service", name: "azure", remarks: "configure azure-sql" }]);
|
|
106
|
-
},
|
|
107
|
-
execute: async (context, inputs) => {
|
|
108
|
-
context.envInfo.state["azure-sql"].password = "MockSqlPassword";
|
|
109
|
-
return teamsfx_api_1.ok([{ type: "service", name: "azure", remarks: "configure azure-sql" }]);
|
|
110
|
-
},
|
|
111
|
-
};
|
|
112
|
-
return teamsfx_api_1.ok(action);
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
AzureSqlResource = tslib_1.__decorate([
|
|
116
|
-
typedi_1.Service("azure-sql")
|
|
117
|
-
], AzureSqlResource);
|
|
118
|
-
exports.AzureSqlResource = AzureSqlResource;
|
|
119
|
-
//# sourceMappingURL=azureSql.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"azureSql.js","sourceRoot":"","sources":["../../../src/component/resource/azureSql.ts"],"names":[],"mappings":"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"}
|
|
Binary file
|
|
Binary file
|