-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Add Bot Framework Enterprise Channel resources. #3577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f6a25fc
Add Bot Framework Enterprise Channel resources.
NickEricson 43451db
Use full name for check availability method.
NickEricson 0d331dc
Change node id to be readonly.
NickEricson fd2f913
Update readme.python.md
lmazuel e2fe651
Add async operation nodes.
NickEricson 242277f
Merge branch 'bfec' of https://github.com/NickEricson/azure-rest-api-…
NickEricson e4a6e85
Make state an Enum.
NickEricson 825f509
Fix some descriptions.
NickEricson 4e4ecaf
Change enum on channel and node so they don't create the same enum.
NickEricson 4bfd870
Using full name for enum instead of shorter name.
NickEricson 36ad9c0
Update to post
NickEricson a2771a7
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
NickEricson 7ade32d
Update py package-version to 0.3.0
NickEricson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
433 changes: 419 additions & 14 deletions
433
...ation/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json
Large diffs are not rendered by default.
Oops, something went wrong.
76 changes: 76 additions & 0 deletions
76
...rce-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateEnterpriseChannel.json
This file contains hidden or 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,76 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2018-07-12", | ||
| "resourceName": "contoso-dl", | ||
| "parameters": { | ||
| "location": "West US", | ||
| "sku": { | ||
| "name": "S1" | ||
| }, | ||
| "etag": "etag1", | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "id": "someid", | ||
| "properties": { | ||
| "nodes": [ | ||
| { | ||
| "name": "Node 1", | ||
| "azureSku": "Int1", | ||
| "azureLocation": "WestUs" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "location": "West US", | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "id": "someid", | ||
| "etag": "etag1", | ||
| "properties": { | ||
| "state": "Creating", | ||
| "nodes": [ | ||
| { | ||
| "id": "00000000-0000-0000-0000-000000000000", | ||
| "state": "Creating", | ||
| "name": "Node 1", | ||
| "azureSku": "Int1", | ||
| "azureLocation": "WestUs" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "201": { | ||
| "body": { | ||
| "location": "West US", | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "id": "someid", | ||
| "properties": { | ||
| "state": "Creating", | ||
| "nodes": [ | ||
| { | ||
| "id": "00000000-0000-0000-0000-000000000000", | ||
| "state": "Creating", | ||
| "name": "Node 1", | ||
| "azureSku": "Int1", | ||
| "azureLocation": "WestUs" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
14 changes: 14 additions & 0 deletions
14
...rce-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteEnterpriseChannel.json
This file contains hidden or 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,14 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2018-07-12", | ||
| "resourceName": "contoso-dl" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| }, | ||
| "204": { | ||
| } | ||
| } | ||
| } |
17 changes: 17 additions & 0 deletions
17
...rosoft.BotService/preview/2018-07-12/examples/EnterpriseChannelCheckNameAvailability.json
This file contains hidden or 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,17 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2018-07-12", | ||
| "parameters": { | ||
| "name": "enterpriseChannelName", | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "valid": true, | ||
| "message": "custom message from server" | ||
| } | ||
| } | ||
| } | ||
| } |
40 changes: 40 additions & 0 deletions
40
...source-manager/Microsoft.BotService/preview/2018-07-12/examples/GetEnterpriseChannel.json
This file contains hidden or 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,40 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2018-07-12", | ||
| "resourceName": "contoso-dl" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "location": "West US", | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "id": "contoso-dl", | ||
| "etag": "etag1", | ||
| "properties": { | ||
| "state": "Started", | ||
| "nodes": [ | ||
| { | ||
| "id": "00000000-0000-0000-0000-000000000000", | ||
| "state": "Stopping", | ||
| "name": "Node 1", | ||
| "azureSku": "Int1", | ||
| "azureLocation": "WestUs" | ||
| }, | ||
| { | ||
| "id": "00000000-0000-0000-0000-000000000001", | ||
| "state": "Started", | ||
| "name": "Node 2", | ||
| "azureSku": "Int1", | ||
| "azureLocation": "EastUs" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
43 changes: 43 additions & 0 deletions
43
...crosoft.BotService/preview/2018-07-12/examples/ListEnterpriseChannelsByResourceGroup.json
This file contains hidden or 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,43 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2018-07-12" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "location": "West US", | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "id": "someid", | ||
| "etag": "etag1", | ||
| "properties": { | ||
| "state": "Creating", | ||
| "nodes": [ | ||
| { | ||
| "id": "00000000-0000-0000-0000-000000000000", | ||
| "state": "Creating", | ||
| "name": "Node 1", | ||
| "azureSku": "Int1", | ||
| "azureLocation": "WestUs" | ||
| }, | ||
| { | ||
| "id": "00000000-0000-0000-0000-000000000001", | ||
| "state": "Creating", | ||
| "name": "Node 2", | ||
| "azureSku": "Int1", | ||
| "azureLocation": "EastUs" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
79 changes: 79 additions & 0 deletions
79
...rce-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateEnterpriseChannel.json
This file contains hidden or 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,79 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscription-id", | ||
| "resourceGroupName": "OneResourceGroupName", | ||
| "api-version": "2018-07-12", | ||
| "resourceName": "contoso-dl", | ||
| "parameters": { | ||
| "location": "West US", | ||
| "sku": { | ||
| "name": "S1" | ||
| }, | ||
| "etag": "etag1", | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "id": "someid", | ||
| "properties": { | ||
| "state": "Stopping", | ||
| "nodes": [ | ||
| { | ||
| "id": "00000000-0000-0000-0000-000000000000", | ||
| "state": "Stopping", | ||
| "name": "Node 1", | ||
| "azureSku": "Int1", | ||
| "azureLocation": "WestUs" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "location": "West US", | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "id": "someid", | ||
| "etag": "etag1", | ||
| "properties": { | ||
| "state": "Stopping", | ||
| "nodes": [ | ||
| { | ||
| "id": "00000000-0000-0000-0000-000000000000", | ||
| "state": "Stopping", | ||
| "name": "Node 1", | ||
| "azureSku": "Int1", | ||
| "azureLocation": "WestUs" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "201": { | ||
| "body": { | ||
| "location": "West US", | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "id": "someid", | ||
| "properties": { | ||
| "state": "Stopping", | ||
| "nodes": [ | ||
| { | ||
| "id": "00000000-0000-0000-0000-000000000000", | ||
| "state": "Stopping", | ||
| "name": "Node 1", | ||
| "azureSku": "Int1", | ||
| "azureLocation": "WestUs" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, do enterprise channels have a location? Bots and channels are global. Seems accurate since there will be an app service for them, but want to confirm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enterprise Channels have a location - there are resources associated with just the channel itself and they are deployed to this region.