Share via


ArmBotServiceModelFactory.WebChatSite Method

Definition

Initializes a new instance of WebChatSite.

public static Azure.ResourceManager.BotService.Models.WebChatSite WebChatSite (Guid? tenantId = default, string siteId = default, string siteName = default, string key = default, string key2 = default, bool isEnabled = false, bool? isTokenEnabled = default, bool? isEndpointParametersEnabled = default, bool? isDetailedLoggingEnabled = default, bool? isBlockUserUploadEnabled = default, bool? isNoStorageEnabled = default, Azure.ETag? etag = default, string appId = default, bool? isV1Enabled = default, bool? isV3Enabled = default, bool? isSecureSiteEnabled = default, System.Collections.Generic.IEnumerable<string> trustedOrigins = default, bool? isWebChatSpeechEnabled = default, bool? isWebchatPreviewEnabled = default);
static member WebChatSite : Nullable<Guid> * string * string * string * string * bool * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ETag> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * seq<string> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.BotService.Models.WebChatSite
Public Shared Function WebChatSite (Optional tenantId As Nullable(Of Guid) = Nothing, Optional siteId As String = Nothing, Optional siteName As String = Nothing, Optional key As String = Nothing, Optional key2 As String = Nothing, Optional isEnabled As Boolean = false, Optional isTokenEnabled As Nullable(Of Boolean) = Nothing, Optional isEndpointParametersEnabled As Nullable(Of Boolean) = Nothing, Optional isDetailedLoggingEnabled As Nullable(Of Boolean) = Nothing, Optional isBlockUserUploadEnabled As Nullable(Of Boolean) = Nothing, Optional isNoStorageEnabled As Nullable(Of Boolean) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional appId As String = Nothing, Optional isV1Enabled As Nullable(Of Boolean) = Nothing, Optional isV3Enabled As Nullable(Of Boolean) = Nothing, Optional isSecureSiteEnabled As Nullable(Of Boolean) = Nothing, Optional trustedOrigins As IEnumerable(Of String) = Nothing, Optional isWebChatSpeechEnabled As Nullable(Of Boolean) = Nothing, Optional isWebchatPreviewEnabled As Nullable(Of Boolean) = Nothing) As WebChatSite

Parameters

tenantId
Nullable<Guid>

Tenant Id.

siteId
String

Site Id.

siteName
String

Site name.

key
String

Primary key. Value only returned through POST to the action Channel List API, otherwise empty.

key2
String

Secondary key. Value only returned through POST to the action Channel List API, otherwise empty.

isEnabled
Boolean

Whether this site is enabled for DirectLine channel.

isTokenEnabled
Nullable<Boolean>

Whether this site is token enabled for channel.

isEndpointParametersEnabled
Nullable<Boolean>

Whether this site is EndpointParameters enabled for channel.

isDetailedLoggingEnabled
Nullable<Boolean>

Whether this site is disabled detailed logging for.

isBlockUserUploadEnabled
Nullable<Boolean>

Whether this site is enabled for block user upload.

isNoStorageEnabled
Nullable<Boolean>

Whether this no-storage site is disabled detailed logging for.

etag
Nullable<ETag>

Entity Tag.

appId
String

DirectLine application id.

isV1Enabled
Nullable<Boolean>

Whether this site is enabled for Bot Framework V1 protocol.

isV3Enabled
Nullable<Boolean>

Whether this site is enabled for Bot Framework V3 protocol.

isSecureSiteEnabled
Nullable<Boolean>

Whether this site is enabled for authentication with Bot Framework.

trustedOrigins
IEnumerable<String>

List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.

isWebChatSpeechEnabled
Nullable<Boolean>

Whether this site is enabled for Webchat Speech.

isWebchatPreviewEnabled
Nullable<Boolean>

Whether this site is enabled for preview versions of Webchat.

Returns

A new WebChatSite instance for mocking.

Applies to