Share via


ArmBotServiceModelFactory.BotChannelData Method

Definition

Initializes a new instance of BotChannelData.

public static Azure.ResourceManager.BotService.BotChannelData BotChannelData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.BotService.Models.BotChannelProperties properties = default, Azure.ResourceManager.BotService.Models.BotServiceSku sku = default, Azure.ResourceManager.BotService.Models.BotServiceKind? kind = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<string> zones = default);
static member BotChannelData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.BotService.Models.BotChannelProperties * Azure.ResourceManager.BotService.Models.BotServiceSku * Nullable<Azure.ResourceManager.BotService.Models.BotServiceKind> * Nullable<Azure.ETag> * seq<string> -> Azure.ResourceManager.BotService.BotChannelData
Public Shared Function BotChannelData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional properties As BotChannelProperties = Nothing, Optional sku As BotServiceSku = Nothing, Optional kind As Nullable(Of BotServiceKind) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional zones As IEnumerable(Of String) = Nothing) As BotChannelData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

properties
BotChannelProperties

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.

sku
BotServiceSku

Gets or sets the SKU of the resource.

kind
Nullable<BotServiceKind>

Required. Gets or sets the Kind of the resource.

etag
Nullable<ETag>

Entity Tag.

zones
IEnumerable<String>

Entity zones.

Returns

A new BotChannelData instance for mocking.

Applies to