Compartir a través de


DirectLineSpeechChannelProperties Class

Definition

The parameters to provide for the DirectLine Speech channel.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.DirectLineSpeechChannelPropertiesTypeConverter))]
public class DirectLineSpeechChannelProperties : Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IDirectLineSpeechChannelProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.DirectLineSpeechChannelPropertiesTypeConverter))>]
type DirectLineSpeechChannelProperties = class
    interface IDirectLineSpeechChannelProperties
    interface IJsonSerializable
Public Class DirectLineSpeechChannelProperties
Implements IDirectLineSpeechChannelProperties
Inheritance
DirectLineSpeechChannelProperties
Attributes
Implements

Constructors

DirectLineSpeechChannelProperties()

Creates an new DirectLineSpeechChannelProperties instance.

Properties

CognitiveServiceRegion

The cognitive service region with this channel registration.

CognitiveServiceResourceId

The cognitive service id with this channel registration.

CognitiveServiceSubscriptionKey

The cognitive service subscription key to use with this channel registration.

CustomSpeechModelId

Custom voice deployment id (optional).

CustomVoiceDeploymentId

Custom speech model id (optional).

IsDefaultBotForCogSvcAccount

Make this a default bot for chosen cognitive service account.

IsEnabled

Whether this channel is enabled or not.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DirectLineSpeechChannelProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DirectLineSpeechChannelProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IDirectLineSpeechChannelProperties.

FromJsonString(String)

Creates a new instance of DirectLineSpeechChannelProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DirectLineSpeechChannelProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to