Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.BotService to add versio…
Browse files Browse the repository at this point in the history
…n preview/2021-05-01-preview (#15239)

* Add "msaAppTenantId", "msaAppType" and "msaAppMSIResourceId" properties.

* Address ARM feedback to set modelAsString as true.
  • Loading branch information
kirankulkarni747 authored Jul 21, 2021
1 parent 761b197 commit 31788d7
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1554,10 +1554,31 @@
"readOnly": true,
"description": "The bot's endpoint version"
},
"msaAppType": {
"type": "string",
"description": "Microsoft App Type for the bot",
"enum": [
"UserAssignedMSI",
"SingleTenant",
"MultiTenant"
],
"x-ms-enum": {
"name": "msaAppType",
"modelAsString": true
}
},
"msaAppId": {
"type": "string",
"description": "Microsoft App Id for the bot"
},
"msaAppTenantId": {
"type": "string",
"description": "Microsoft App Tenant Id for the bot"
},
"msaAppMSIResourceId": {
"type": "string",
"description": "Microsoft App Managed Identity Resource Id for the bot"
},
"configuredChannels": {
"type": "array",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
"luisappid2"
],
"luisKey": "luiskey",
"msaAppType": "UserAssignedMSI",
"msaAppId": "exampleappid",
"msaAppTenantId": "exampleapptenantid",
"msaAppMSIResourceId": "/subscriptions/foo/resourcegroups/bar/providers/microsoft.managedidentity/userassignedidentities/sampleId",
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
Expand Down Expand Up @@ -62,7 +65,10 @@
"luisappid1",
"luisappid2"
],
"msaAppType": "UserAssignedMSI",
"msaAppId": "msaappid",
"msaAppTenantId": "msaapptenantid",
"msaAppMSIResourceId": "/subscriptions/foo/resourcegroups/bar/providers/microsoft.managedidentity/userassignedidentities/sampleId",
"configuredChannels": [
"facebook",
"groupme"
Expand Down Expand Up @@ -100,7 +106,10 @@
"luisappid1",
"luisappid2"
],
"msaAppType": "UserAssignedMSI",
"msaAppId": "msaappid",
"msaAppTenantId": "msaapptenantid",
"msaAppMSIResourceId": "/subscriptions/foo/resourcegroups/bar/providers/microsoft.managedidentity/userassignedidentities/sampleId",
"configuredChannels": [
"facebook",
"groupme"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
"luisappid1",
"luisappid2"
],
"msaAppType": "UserAssignedMSI",
"msaAppId": "msaappid",
"msaAppTenantId": "msaapptenantid",
"msaAppMSIResourceId": "/subscriptions/foo/resourcegroups/bar/providers/microsoft.managedidentity/userassignedidentities/sampleId",
"configuredChannels": [
"facebook",
"groupme"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
"luisappid1",
"luisappid2"
],
"msaAppType": "UserAssignedMSI",
"msaAppId": "msaappid",
"msaAppTenantId": "msaapptenantid",
"msaAppMSIResourceId": "/subscriptions/foo/resourcegroups/bar/providers/microsoft.managedidentity/userassignedidentities/sampleId",
"configuredChannels": [
"facebook",
"groupme"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
"luisappid1",
"luisappid2"
],
"msaAppType": "UserAssignedMSI",
"msaAppId": "msaappid",
"msaAppTenantId": "msaapptenantid",
"msaAppMSIResourceId": "/subscriptions/foo/resourcegroups/bar/providers/microsoft.managedidentity/userassignedidentities/sampleId",
"configuredChannels": [
"facebook",
"groupme"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
"luisappid2"
],
"luisKey": "luiskey",
"msaAppType": "UserAssignedMSI",
"msaAppId": "msaappid",
"msaAppTenantId": "msaapptenantid",
"msaAppMSIResourceId": "/subscriptions/foo/resourcegroups/bar/providers/microsoft.managedidentity/userassignedidentities/sampleId",
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
Expand Down Expand Up @@ -62,7 +65,10 @@
"luisappid1",
"luisappid2"
],
"msaAppType": "UserAssignedMSI",
"msaAppId": "msaappid",
"msaAppTenantId": "msaapptenantid",
"msaAppMSIResourceId": "/subscriptions/foo/resourcegroups/bar/providers/microsoft.managedidentity/userassignedidentities/sampleId",
"configuredChannels": [
"facebook",
"groupme"
Expand Down Expand Up @@ -102,7 +108,10 @@
"luisappid1",
"luisappid2"
],
"msaAppType": "UserAssignedMSI",
"msaAppId": "msaappid",
"msaAppTenantId": "msaapptenantid",
"msaAppMSIResourceId": "/subscriptions/foo/resourcegroups/bar/providers/microsoft.managedidentity/userassignedidentities/sampleId",
"configuredChannels": [
"facebook",
"groupme"
Expand Down

0 comments on commit 31788d7

Please sign in to comment.