ArmBotServiceModelFactory.BotChannelSettings Method

Definition

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.

isEnabled
Nullable<Boolean>

Whether this channel is enabled for the bot.

disableLocalAuth
Nullable<Boolean>

Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.

requireTermsAgreement
Nullable<Boolean>

Whether customer needs to agree to new terms.

Returns

A new BotChannelSettings instance for mocking.

Applies to