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

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

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

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 subscriptionId = '{{ subscriptionId }}';