-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added missing parameters: appType, UMSIName, UMSIResourceGroupName, a…
…nd tenantId to the ARM template for Python bot deployment. (#2191)
- Loading branch information
Showing
30 changed files
with
1,115 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 39 additions & 19 deletions
58
...okiecutter.bot_name}}/deploymentTemplates/deployUseExistResourceGroup/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,48 @@ | ||
Need deploy BotAppService before AzureBot | ||
--- | ||
az login | ||
az deployment group create --resource-group <group-name> --template-file <template-file> --parameters @<parameters-file> | ||
--- | ||
# Usage | ||
BotApp must be deployed prior to AzureBot. | ||
|
||
### Command line: | ||
`az login`<br> | ||
`az deployment group create --resource-group <group-name> --template-file <template-file> --parameters @<parameters-file>` | ||
|
||
# parameters-for-template-BotApp-with-rg: | ||
|
||
**appServiceName**:(required) The Name of the Bot App Service. | ||
- **appServiceName**:(required) The Name of the Bot App Service. | ||
|
||
- (choose an existingAppServicePlan or create a new AppServicePlan) | ||
- **existingAppServicePlanName**: The name of the App Service Plan. | ||
- **existingAppServicePlanLocation**: The location of the App Service Plan. | ||
- **newAppServicePlanName**: The name of the App Service Plan. | ||
- **newAppServicePlanLocation**: The location of the App Service Plan. | ||
- **newAppServicePlanSku**: The SKU of the App Service Plan. Defaults to Standard values. | ||
|
||
- **appType**: Type of Bot Authentication. set as MicrosoftAppType in the Web App's Application Settings. **Allowed values are: MultiTenant(default), SingleTenant, UserAssignedMSI.** | ||
|
||
- **appId**:(required) Active Directory App ID or User-Assigned Managed Identity Client ID, set as MicrosoftAppId in the Web App's Application Settings. | ||
|
||
- **appSecret**:(required for MultiTenant and SingleTenant) Active Directory App Password, set as MicrosoftAppPassword in the Web App's Application Settings. | ||
|
||
- **UMSIName**:(required for UserAssignedMSI) The User-Assigned Managed Identity Resource used for the Bot's Authentication. | ||
|
||
- **UMSIResourceGroupName**:(required for UserAssignedMSI) The User-Assigned Managed Identity Resource Group used for the Bot's Authentication. | ||
|
||
- **tenantId**: The Azure AD Tenant ID to use as part of the Bot's Authentication. Only used for SingleTenant and UserAssignedMSI app types. Defaults to <Subscription Tenant ID>. | ||
|
||
MoreInfo: https://docs.microsoft.com/en-us/azure/bot-service/tutorial-provision-a-bot?view=azure-bot-service-4.0&tabs=userassigned%2Cnewgroup#create-an-identity-resource | ||
|
||
(choose an existingAppServicePlan or create a new AppServicePlan) | ||
**existingAppServicePlanName**: The name of the App Service Plan. | ||
**existingAppServicePlanLocation**: The location of the App Service Plan. | ||
**newAppServicePlanName**: The name of the App Service Plan. | ||
**newAppServicePlanLocation**: The location of the App Service Plan. | ||
**newAppServicePlanSku**: The SKU of the App Service Plan. Defaults to Standard values. | ||
|
||
**appId**:(required) Active Directory App ID or User-Assigned Managed Identity Client ID, set as MicrosoftAppId in the Web App's Application Settings. | ||
**appSecret**:(required) Active Directory App Password, set as MicrosoftAppPassword in the Web App's Application Settings. | ||
|
||
# parameters-for-template-AzureBot-with-rg: | ||
|
||
**azureBotId**:(required) The globally unique and immutable bot ID. | ||
**azureBotSku**: The pricing tier of the Bot Service Registration. **Allowed values are: F0, S1(default)**. | ||
**azureBotRegion**: Specifies the location of the new AzureBot. **Allowed values are: global(default), westeurope**. | ||
**botEndpoint**: Use to handle client messages, Such as https://<botappServiceName>.azurewebsites.net/api/messages. | ||
- **azureBotId**:(required) The globally unique and immutable bot ID. | ||
- **azureBotSku**: The pricing tier of the Bot Service Registration. **Allowed values are: F0, S1(default)**. | ||
- **azureBotRegion**: Specifies the location of the new AzureBot. **Allowed values are: global(default), westeurope**. | ||
- **botEndpoint**: Use to handle client messages, Such as https://<botappServiceName>.azurewebsites.net/api/messages. | ||
|
||
- **appType**: Type of Bot Authentication. set as MicrosoftAppType in the Web App's Application Settings. **Allowed values are: MultiTenant(default), SingleTenant, UserAssignedMSI.** | ||
- **appId**:(required) Active Directory App ID or User-Assigned Managed Identity Client ID, set as MicrosoftAppId in the Web App's Application Settings. | ||
- **UMSIName**:(required for UserAssignedMSI) The User-Assigned Managed Identity Resource used for the Bot's Authentication. | ||
- **UMSIResourceGroupName**:(required for UserAssignedMSI) The User-Assigned Managed Identity Resource Group used for the Bot's Authentication. | ||
- **tenantId**: The Azure AD Tenant ID to use as part of the Bot's Authentication. Only used for SingleTenant and UserAssignedMSI app types. Defaults to <Subscription Tenant ID>. | ||
|
||
**appId**:(required) Active Directory App ID or User-Assigned Managed Identity Client ID, set as MicrosoftAppId in the Web App's Application Settings. | ||
MoreInfo: https://docs.microsoft.com/en-us/azure/bot-service/tutorial-provision-a-bot?view=azure-bot-service-4.0&tabs=userassigned%2Cnewgroup#create-an-identity-resource |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.