DirectLineSite Class

A site for the Direct Line channel.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
DirectLineSite

Constructor

DirectLineSite(*, site_name: str, is_enabled: bool, is_v1_enabled: bool, is_v3_enabled: bool, is_secure_site_enabled: Optional[bool] = None, trusted_origins: Optional[List[str]] = None, **kwargs)

Parameters

site_name
str
Required

Required. Site name.

is_enabled
bool
Required

Required. Whether this site is enabled for DirectLine channel.

is_v1_enabled
bool
Required

Required. Whether this site is enabled for Bot Framework V1 protocol.

is_v3_enabled
bool
Required

Required. Whether this site is enabled for Bot Framework V1 protocol.

is_secure_site_enabled
bool
Required

Whether this site is enabled for authentication with Bot Framework.

trusted_origins
list[str]
Required

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

Variables

site_id
str

Site Id.

key
str

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

key2
str

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