Sdílet prostřednictvím


BotChannelData Class

Definition

A class representing the BotChannel data model. Bot channel resource definition

public class BotChannelData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.BotService.BotChannelData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.BotService.BotChannelData>
public class BotChannelData : Azure.ResourceManager.Models.TrackedResourceData
type BotChannelData = class
    inherit TrackedResourceData
    interface IJsonModel<BotChannelData>
    interface IPersistableModel<BotChannelData>
type BotChannelData = class
    inherit TrackedResourceData
Public Class BotChannelData
Inherits TrackedResourceData
Implements IJsonModel(Of BotChannelData), IPersistableModel(Of BotChannelData)
Public Class BotChannelData
Inherits TrackedResourceData
Inheritance
Implements

Constructors

BotChannelData(AzureLocation)

Initializes a new instance of BotChannelData.

Properties

ETag

Entity Tag.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Kind

Required. Gets or sets the Kind of the resource.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Properties

The set of properties specific to bot channel resource Please note BotChannelProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AcsChatChannel, AlexaChannel, DirectLineChannel, DirectLineSpeechChannel, EmailChannel, FacebookChannel, KikChannel, LineChannel, M365Extensions, MsTeamsChannel, Omnichannel, OutlookChannel, SearchAssistant, SkypeChannel, SlackChannel, SmsChannel, TelegramChannel, TelephonyChannel and WebChatChannel.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Sku

Gets or sets the SKU of the resource.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
Zones

Entity zones.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BotChannelData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BotChannelData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BotChannelData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BotChannelData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BotChannelData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to