ArmBotServiceModelFactory.BotChannelSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Channel settings definition.
public static Azure.ResourceManager.BotService.Models.BotChannelSettings BotChannelSettings(string extensionKey1 = default, string extensionKey2 = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.BotService.Models.BotChannelSite> sites = default, string channelId = default, string channelDisplayName = default, string botId = default, Uri botIconUri = default, bool? isEnabled = default, bool? disableLocalAuth = default, bool? requireTermsAgreement = default);
static member BotChannelSettings : string * string * seq<Azure.ResourceManager.BotService.Models.BotChannelSite> * string * string * string * Uri * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.BotService.Models.BotChannelSettings
Public Shared Function BotChannelSettings (Optional extensionKey1 As String = Nothing, Optional extensionKey2 As String = Nothing, Optional sites As IEnumerable(Of BotChannelSite) = Nothing, Optional channelId As String = Nothing, Optional channelDisplayName As String = Nothing, Optional botId As String = Nothing, Optional botIconUri As Uri = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional requireTermsAgreement As Nullable(Of Boolean) = Nothing) As BotChannelSettings
Parameters
- extensionKey1
- String
The extensionKey1.
- extensionKey2
- String
The extensionKey2.
- sites
- IEnumerable<BotChannelSite>
The list of sites.
- channelId
- String
The channel id.
- channelDisplayName
- String
The channel display name.
- botId
- String
The bot id.
- botIconUri
- Uri
The bot icon url.
Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
Returns
A new BotChannelSettings instance for mocking.