ArmBotServiceModelFactory.TelephonyChannelProperties 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.
The parameters to provide for the Direct Line channel.
public static Azure.ResourceManager.BotService.Models.TelephonyChannelProperties TelephonyChannelProperties(System.Collections.Generic.IEnumerable<Azure.ResourceManager.BotService.Models.TelephonyPhoneNumbers> phoneNumbers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.BotService.Models.TelephonyChannelResourceApiConfiguration> apiConfigurations = default, string cognitiveServiceSubscriptionKey = default, string cognitiveServiceRegion = default, string defaultLocale = default, string premiumSku = default, bool? isEnabled = default);
static member TelephonyChannelProperties : seq<Azure.ResourceManager.BotService.Models.TelephonyPhoneNumbers> * seq<Azure.ResourceManager.BotService.Models.TelephonyChannelResourceApiConfiguration> * string * string * string * string * Nullable<bool> -> Azure.ResourceManager.BotService.Models.TelephonyChannelProperties
Public Shared Function TelephonyChannelProperties (Optional phoneNumbers As IEnumerable(Of TelephonyPhoneNumbers) = Nothing, Optional apiConfigurations As IEnumerable(Of TelephonyChannelResourceApiConfiguration) = Nothing, Optional cognitiveServiceSubscriptionKey As String = Nothing, Optional cognitiveServiceRegion As String = Nothing, Optional defaultLocale As String = Nothing, Optional premiumSku As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing) As TelephonyChannelProperties
Parameters
- phoneNumbers
- IEnumerable<TelephonyPhoneNumbers>
The list of Telephony phone numbers.
- apiConfigurations
- IEnumerable<TelephonyChannelResourceApiConfiguration>
The list of Telephony api configuration.
- cognitiveServiceSubscriptionKey
- String
The extensionKey1.
- cognitiveServiceRegion
- String
The extensionKey2.
- defaultLocale
- String
The default locale of the channel.
- premiumSku
- String
The premium SKU applied to the channel.
Returns
A new TelephonyChannelProperties instance for mocking.