-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[Hub Generated] Review request for Microsoft.BotService to add version preview/2021-05-01-preview #15144
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
[Hub Generated] Review request for Microsoft.BotService to add version preview/2021-05-01-preview #15144
Changes from all commits
c965d58
a5a2dd8
570cc18
5dec1be
a0f43e4
b0369c2
652439e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1609,6 +1609,10 @@ | |
| "type": "boolean", | ||
| "description": "Whether the bot is in an isolated network" | ||
| }, | ||
| "disableLocalAuth": { | ||
| "type": "boolean", | ||
| "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication." | ||
| }, | ||
| "schemaTransformationVersion": { | ||
| "type": "string", | ||
| "description": "The channel schema transformation version for the bot" | ||
|
|
@@ -2137,6 +2141,10 @@ | |
| "type": "string", | ||
| "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty." | ||
| }, | ||
| "scopes": { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @youyu16 can you respond to this?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it will separated by ",", example, "channels:history,channels:read", this is an URL parameter.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, I'd recommend updating the description to explain the format, but won't block ARM signoff. |
||
| "type": "string", | ||
| "description": "The Slack permission scopes." | ||
| }, | ||
| "landingPageUrl": { | ||
| "type": "string", | ||
| "description": "The Slack landing page Url" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
ARM guidance is to discourage booleans in favor of string enums, e.g. localAuthType { Required, NotRequired }. These are usually easier for customers to understand and use, are extensible to more than two values, and can save complexity by eliminating invalid combinations of multiple booleans. This isn't a requirement, but you should consider it. #Resolved
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.
That is the type expected of that property. Just reusing as is per the guiding doc.
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.
That is the type expected of that property. Just reusing as is per the guiding doc.