다음을 통해 공유


SmsChannel Class

Definition

Sms channel definition

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

Constructors

SmsChannel()

Creates an new SmsChannel instance.

Properties

AccountSid

The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.

AuthToken

The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.

Etag

Entity Tag of the resource

IsEnabled

Whether this channel is enabled for the bot

IsValidated

Whether this channel is validated for the bot

Location

Specifies the location of the resource.

Name

The channel name

Phone

The Sms phone

ProvisioningState

Provisioning state of the resource

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SmsChannel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SmsChannel.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SmsChannel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to