ArmBotServiceModelFactory.BotChannelSite Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BotChannelSite.
public static Azure.ResourceManager.BotService.Models.BotChannelSite BotChannelSite (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 BotChannelSite : 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.BotChannelSite
Public Shared Function BotChannelSite (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 BotChannelSite
Parameters
- 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.
Whether this site is EndpointParameters enabled for channel.
- appId
- String
DirectLine application id.
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.
Whether this site is enabled for preview versions of Webchat.
Returns
A new BotChannelSite instance for mocking.