Share via


DirectLineSpeechChannel Class

Definition

DirectLine Speech channel definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.DirectLineSpeechChannelTypeConverter))]
public class DirectLineSpeechChannel : Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IDirectLineSpeechChannel, Microsoft.Azure.PowerShell.Cmdlets.BotService.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.DirectLineSpeechChannelTypeConverter))>]
type DirectLineSpeechChannel = class
    interface IDirectLineSpeechChannel
    interface IJsonSerializable
    interface IChannel
    interface IValidates
Public Class DirectLineSpeechChannel
Implements IDirectLineSpeechChannel, IValidates
Inheritance
DirectLineSpeechChannel
Attributes
Implements

Constructors

DirectLineSpeechChannel()

Creates an new DirectLineSpeechChannel 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).

Etag

Entity Tag of the resource

IsDefaultBotForCogSvcAccount

Make this a default bot for chosen cognitive service account.

IsEnabled

Whether this channel is enabled or not.

Location

Specifies the location of the resource.

Name

The channel name

ProvisioningState

Provisioning state of the resource

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DirectLineSpeechChannel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DirectLineSpeechChannel.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DirectLineSpeechChannel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to