This repository has been archived by the owner on Dec 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4029851
commit e58db1f
Showing
30 changed files
with
1,224 additions
and
438 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
...oymentTemplates/DeployUseExistResourceGroup/parameters-for-template-AzureBot-with-rg.json
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"azureBotId": { | ||
"value": "" | ||
}, | ||
"azureBotSku": { | ||
"value": "S1" | ||
}, | ||
"azureBotRegion": { | ||
"value": "global" | ||
}, | ||
"botEndpoint": { | ||
"value": "" | ||
}, | ||
"appId": { | ||
"value": "" | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...ploymentTemplates/DeployUseExistResourceGroup/parameters-for-template-BotApp-with-rg.json
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"appServiceName": { | ||
"value": "" | ||
}, | ||
"existingAppServicePlanName": { | ||
"value": "" | ||
}, | ||
"existingAppServicePlanLocation": { | ||
"value": "" | ||
}, | ||
"newAppServicePlanName": { | ||
"value": "" | ||
}, | ||
"newAppServicePlanLocation": { | ||
"value": "" | ||
}, | ||
"newAppServicePlanSku": { | ||
"value": { | ||
"name": "S1", | ||
"tier": "Standard", | ||
"size": "S1", | ||
"family": "S", | ||
"capacity": 1 | ||
} | ||
}, | ||
"appId": { | ||
"value": "" | ||
}, | ||
"appSecret": { | ||
"value": "" | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...emplates/core/project/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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Need deploy BotAppService before AzureBot | ||
--- | ||
az login | ||
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. | ||
|
||
(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. | ||
|
||
**appId**:(required) Active Directory App ID or User-Assigned Managed Identity Client ID, set as MicrosoftAppId in the Web App's Application Settings. |
61 changes: 61 additions & 0 deletions
61
...re/project/deploymentTemplates/DeployUseExistResourceGroup/template-AzureBot-with-rg.json
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"azureBotId": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "The globally unique and immutable bot ID." | ||
} | ||
}, | ||
"azureBotSku": { | ||
"defaultValue": "S1", | ||
"type": "string", | ||
"metadata": { | ||
"description": "The pricing tier of the Bot Service Registration. Allowed values are: F0, S1(default)." | ||
} | ||
}, | ||
"azureBotRegion": { | ||
"type": "string", | ||
"defaultValue": "global", | ||
"metadata": { | ||
"description": "Specifies the location of the new AzureBot. Allowed values are: global(default), westeurope." | ||
} | ||
}, | ||
"botEndpoint": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Use to handle client messages, Such as https://<botappServiceName>.azurewebsites.net/api/messages." | ||
} | ||
}, | ||
"appId": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Active Directory App ID or User-Assigned Managed Identity Client ID, set as MicrosoftAppId in the Web App's Application Settings." | ||
} | ||
} | ||
}, | ||
"resources": [ | ||
{ | ||
"apiVersion": "2021-05-01-preview", | ||
"type": "Microsoft.BotService/botServices", | ||
"name": "[parameters('azureBotId')]", | ||
"location": "[parameters('azureBotRegion')]", | ||
"kind": "azurebot", | ||
"sku": { | ||
"name": "[parameters('azureBotSku')]" | ||
}, | ||
"properties": { | ||
"name": "[parameters('azureBotId')]", | ||
"displayName": "[parameters('azureBotId')]", | ||
"iconUrl": "https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png", | ||
"endpoint": "[parameters('botEndpoint')]", | ||
"msaAppId": "[parameters('appId')]", | ||
"luisAppIds": [], | ||
"schemaTransformationVersion": "1.3", | ||
"isCmekEnabled": false, | ||
"isIsolated": false | ||
} | ||
} | ||
] | ||
} |
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
27 changes: 27 additions & 0 deletions
27
...ploymentTemplates/DeployWithNewResourceGroup/parameters-for-template-AzureBot-new-rg.json
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"groupName": { | ||
"value": "" | ||
}, | ||
"groupLocation": { | ||
"value": "" | ||
}, | ||
"azureBotId": { | ||
"value": "" | ||
}, | ||
"azureBotSku": { | ||
"value": "S1" | ||
}, | ||
"azureBotRegion": { | ||
"value": "global" | ||
}, | ||
"botEndpoint": { | ||
"value": "" | ||
}, | ||
"appId": { | ||
"value": "" | ||
} | ||
} | ||
} |
Oops, something went wrong.