Skip to main content

host_settings

Creates, updates, deletes, gets or lists a host_settings resource.

Overview

Namehost_settings
TypeResource
Idazure.bot_service.host_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
BotOpenIdMetadatastringSame as toBotFromChannelOpenIdMetadataUrl, used by SDK < v4.12.
OAuthUrlstringFor in-conversation bot user authentication.
ToBotFromChannelOpenIdMetadataUrlstringFor verifying incoming tokens from the channels.
ToBotFromChannelTokenIssuerstringFor verifying incoming tokens from the channels.
ToBotFromEmulatorOpenIdMetadataUrlstringFor verifying incoming tokens from bot emulator.
ToChannelFromBotLoginUrlstringFor getting access token to channels from bot host.
ToChannelFromBotOAuthScopestringFor getting access token to channels from bot host.
ValidateAuthoritybooleanPer cloud OAuth setting on whether authority is validated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscription_idGet per subscription settings needed to host bot in compute resource such as Azure App Service.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
subscription_idstring

SELECT examples

Get per subscription settings needed to host bot in compute resource such as Azure App Service.

SELECT
BotOpenIdMetadata,
OAuthUrl,
ToBotFromChannelOpenIdMetadataUrl,
ToBotFromChannelTokenIssuer,
ToBotFromEmulatorOpenIdMetadataUrl,
ToChannelFromBotLoginUrl,
ToChannelFromBotOAuthScope,
ValidateAuthority
FROM azure.bot_service.host_settings
WHERE subscription_id = '{{ subscription_id }}' -- required
;