BotProperties Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. BotProperties
- com.
Implements
public final class BotProperties
implements JsonSerializable<BotProperties>
The parameters to provide for the Bot.
Constructor Summary
| Constructor | Description |
|---|---|
| BotProperties() |
Creates an instance of Bot |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,String> |
allSettings()
Get the all |
| String |
appPasswordHint()
Get the app |
| String |
cmekEncryptionStatus()
Get the cmek |
| String |
cmekKeyVaultUrl()
Get the cmek |
| List<String> |
configuredChannels()
Get the configured |
| String |
description()
Get the description property: The description of the bot. |
| String |
developerAppInsightKey()
Get the developer |
| String |
developerAppInsightsApiKey()
Get the developer |
| String |
developerAppInsightsApplicationId()
Get the developer |
| Boolean |
disableLocalAuth()
Get the disable |
| String |
displayName()
Get the display |
| List<String> |
enabledChannels()
Get the enabled |
| String |
endpoint()
Get the endpoint property: The bot's endpoint. |
| String |
endpointVersion()
Get the endpoint |
|
static
Bot |
fromJson(JsonReader jsonReader)
Reads an instance of Bot |
| String |
iconUrl()
Get the icon |
| Boolean |
isCmekEnabled()
Get the is |
| Boolean |
isDeveloperAppInsightsApiKeySet()
Get the is |
| Boolean |
isStreamingSupported()
Get the is |
| List<String> |
luisAppIds()
Get the luis |
| String |
luisKey()
Get the luis |
| String |
manifestUrl()
Get the manifest |
| String |
migrationToken()
Get the migration |
| String |
msaAppId()
Get the msa |
| String |
msaAppMsiResourceId()
Get the msa |
| String |
msaAppTenantId()
Get the msa |
|
Msa |
msaAppType()
Get the msa |
| String |
openWithHint()
Get the open |
| Map<String,String> |
parameters()
Get the parameters property: Contains resource parameters defined as key/value pairs. |
|
List<Private |
privateEndpointConnections()
Get the private |
| String |
provisioningState()
Get the provisioning |
|
Public |
publicNetworkAccess()
Get the public |
| String |
publishingCredentials()
Get the publishing |
| String |
schemaTransformationVersion()
Get the schema |
| String |
storageResourceId()
Get the storage |
| String |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Bot |
withAllSettings(Map<String,String> allSettings)
Set the all |
|
Bot |
withAppPasswordHint(String appPasswordHint)
Set the app |
|
Bot |
withCmekKeyVaultUrl(String cmekKeyVaultUrl)
Set the cmek |
|
Bot |
withDescription(String description)
Set the description property: The description of the bot. |
|
Bot |
withDeveloperAppInsightKey(String developerAppInsightKey)
Set the developer |
|
Bot |
withDeveloperAppInsightsApiKey(String developerAppInsightsApiKey)
Set the developer |
|
Bot |
withDeveloperAppInsightsApplicationId(String developerAppInsightsApplicationId)
Set the developer |
|
Bot |
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disable |
|
Bot |
withDisplayName(String displayName)
Set the display |
|
Bot |
withEndpoint(String endpoint)
Set the endpoint property: The bot's endpoint. |
|
Bot |
withIconUrl(String iconUrl)
Set the icon |
|
Bot |
withIsCmekEnabled(Boolean isCmekEnabled)
Set the is |
|
Bot |
withIsStreamingSupported(Boolean isStreamingSupported)
Set the is |
|
Bot |
withLuisAppIds(List<String> luisAppIds)
Set the luis |
|
Bot |
withLuisKey(String luisKey)
Set the luis |
|
Bot |
withManifestUrl(String manifestUrl)
Set the manifest |
|
Bot |
withMsaAppId(String msaAppId)
Set the msa |
|
Bot |
withMsaAppMsiResourceId(String msaAppMsiResourceId)
Set the msa |
|
Bot |
withMsaAppTenantId(String msaAppTenantId)
Set the msa |
|
Bot |
withMsaAppType(MsaAppType msaAppType)
Set the msa |
|
Bot |
withOpenWithHint(String openWithHint)
Set the open |
|
Bot |
withParameters(Map<String,String> parameters)
Set the parameters property: Contains resource parameters defined as key/value pairs. |
|
Bot |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
|
Bot |
withPublishingCredentials(String publishingCredentials)
Set the publishing |
|
Bot |
withSchemaTransformationVersion(String schemaTransformationVersion)
Set the schema |
|
Bot |
withStorageResourceId(String storageResourceId)
Set the storage |
|
Bot |
withTenantId(String tenantId)
Set the tenant |
Methods inherited from java.lang.Object
Constructor Details
BotProperties
public BotProperties()
Creates an instance of BotProperties class.
Method Details
allSettings
public Map<String,String> allSettings()
Get the allSettings property: Contains resource all settings defined as key/value pairs.
Returns:
appPasswordHint
public String appPasswordHint()
Get the appPasswordHint property: The hint (e.g. keyVault secret resourceId) on how to fetch the app secret.
Returns:
cmekEncryptionStatus
public String cmekEncryptionStatus()
Get the cmekEncryptionStatus property: The CMK encryption status.
Returns:
cmekKeyVaultUrl
public String cmekKeyVaultUrl()
Get the cmekKeyVaultUrl property: The CMK Url.
Returns:
configuredChannels
public List<String> configuredChannels()
Get the configuredChannels property: Collection of channels for which the bot is configured.
Returns:
description
public String description()
Get the description property: The description of the bot.
Returns:
developerAppInsightKey
public String developerAppInsightKey()
Get the developerAppInsightKey property: The Application Insights key.
Returns:
developerAppInsightsApiKey
public String developerAppInsightsApiKey()
Get the developerAppInsightsApiKey property: The Application Insights Api Key.
Returns:
developerAppInsightsApplicationId
public String developerAppInsightsApplicationId()
Get the developerAppInsightsApplicationId property: The Application Insights App Id.
Returns:
disableLocalAuth
public Boolean disableLocalAuth()
Get the disableLocalAuth property: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
Returns:
displayName
public String displayName()
Get the displayName property: The Name of the bot.
Returns:
enabledChannels
public List<String> enabledChannels()
Get the enabledChannels property: Collection of channels for which the bot is enabled.
Returns:
endpoint
public String endpoint()
Get the endpoint property: The bot's endpoint.
Returns:
endpointVersion
public String endpointVersion()
Get the endpointVersion property: The bot's endpoint version.
Returns:
fromJson
public static BotProperties fromJson(JsonReader jsonReader)
Reads an instance of BotProperties from the JsonReader.
Parameters:
Returns:
Throws:
iconUrl
public String iconUrl()
Get the iconUrl property: The Icon Url of the bot.
Returns:
isCmekEnabled
public Boolean isCmekEnabled()
Get the isCmekEnabled property: Whether Cmek is enabled.
Returns:
isDeveloperAppInsightsApiKeySet
public Boolean isDeveloperAppInsightsApiKeySet()
Get the isDeveloperAppInsightsApiKeySet property: Whether the bot is developerAppInsightsApiKey set.
Returns:
isStreamingSupported
public Boolean isStreamingSupported()
Get the isStreamingSupported property: Whether the bot is streaming supported.
Returns:
luisAppIds
public List<String> luisAppIds()
Get the luisAppIds property: Collection of LUIS App Ids.
Returns:
luisKey
public String luisKey()
Get the luisKey property: The LUIS Key.
Returns:
manifestUrl
public String manifestUrl()
Get the manifestUrl property: The bot's manifest url.
Returns:
migrationToken
public String migrationToken()
Get the migrationToken property: Token used to migrate non Azure bot to azure subscription.
Returns:
msaAppId
public String msaAppId()
Get the msaAppId property: Microsoft App Id for the bot.
Returns:
msaAppMsiResourceId
public String msaAppMsiResourceId()
Get the msaAppMsiResourceId property: Microsoft App Managed Identity Resource Id for the bot.
Returns:
msaAppTenantId
public String msaAppTenantId()
Get the msaAppTenantId property: Microsoft App Tenant Id for the bot.
Returns:
msaAppType
public MsaAppType msaAppType()
Get the msaAppType property: Microsoft App Type for the bot.
Returns:
openWithHint
public String openWithHint()
Get the openWithHint property: The hint to browser (e.g. protocol handler) on how to open the bot for authoring.
Returns:
parameters
public Map<String,String> parameters()
Get the parameters property: Contains resource parameters defined as key/value pairs.
Returns:
privateEndpointConnections
public List<PrivateEndpointConnectionInner> privateEndpointConnections()
Get the privateEndpointConnections property: List of Private Endpoint Connections configured for the bot.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Returns:
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Whether the bot is in an isolated network.
Returns:
publishingCredentials
public String publishingCredentials()
Get the publishingCredentials property: Publishing credentials of the resource.
Returns:
schemaTransformationVersion
public String schemaTransformationVersion()
Get the schemaTransformationVersion property: The channel schema transformation version for the bot.
Returns:
storageResourceId
public String storageResourceId()
Get the storageResourceId property: The storage resourceId for the bot.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The Tenant Id for the bot.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAllSettings
public BotProperties withAllSettings(Map<String,String> allSettings)
Set the allSettings property: Contains resource all settings defined as key/value pairs.
Parameters:
Returns:
withAppPasswordHint
public BotProperties withAppPasswordHint(String appPasswordHint)
Set the appPasswordHint property: The hint (e.g. keyVault secret resourceId) on how to fetch the app secret.
Parameters:
Returns:
withCmekKeyVaultUrl
public BotProperties withCmekKeyVaultUrl(String cmekKeyVaultUrl)
Set the cmekKeyVaultUrl property: The CMK Url.
Parameters:
Returns:
withDescription
public BotProperties withDescription(String description)
Set the description property: The description of the bot.
Parameters:
Returns:
withDeveloperAppInsightKey
public BotProperties withDeveloperAppInsightKey(String developerAppInsightKey)
Set the developerAppInsightKey property: The Application Insights key.
Parameters:
Returns:
withDeveloperAppInsightsApiKey
public BotProperties withDeveloperAppInsightsApiKey(String developerAppInsightsApiKey)
Set the developerAppInsightsApiKey property: The Application Insights Api Key.
Parameters:
Returns:
withDeveloperAppInsightsApplicationId
public BotProperties withDeveloperAppInsightsApplicationId(String developerAppInsightsApplicationId)
Set the developerAppInsightsApplicationId property: The Application Insights App Id.
Parameters:
Returns:
withDisableLocalAuth
public BotProperties withDisableLocalAuth(Boolean disableLocalAuth)
Set the disableLocalAuth property: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
Parameters:
Returns:
withDisplayName
public BotProperties withDisplayName(String displayName)
Set the displayName property: The Name of the bot.
Parameters:
Returns:
withEndpoint
public BotProperties withEndpoint(String endpoint)
Set the endpoint property: The bot's endpoint.
Parameters:
Returns:
withIconUrl
public BotProperties withIconUrl(String iconUrl)
Set the iconUrl property: The Icon Url of the bot.
Parameters:
Returns:
withIsCmekEnabled
public BotProperties withIsCmekEnabled(Boolean isCmekEnabled)
Set the isCmekEnabled property: Whether Cmek is enabled.
Parameters:
Returns:
withIsStreamingSupported
public BotProperties withIsStreamingSupported(Boolean isStreamingSupported)
Set the isStreamingSupported property: Whether the bot is streaming supported.
Parameters:
Returns:
withLuisAppIds
public BotProperties withLuisAppIds(List<String> luisAppIds)
Set the luisAppIds property: Collection of LUIS App Ids.
Parameters:
Returns:
withLuisKey
public BotProperties withLuisKey(String luisKey)
Set the luisKey property: The LUIS Key.
Parameters:
Returns:
withManifestUrl
public BotProperties withManifestUrl(String manifestUrl)
Set the manifestUrl property: The bot's manifest url.
Parameters:
Returns:
withMsaAppId
public BotProperties withMsaAppId(String msaAppId)
Set the msaAppId property: Microsoft App Id for the bot.
Parameters:
Returns:
withMsaAppMsiResourceId
public BotProperties withMsaAppMsiResourceId(String msaAppMsiResourceId)
Set the msaAppMsiResourceId property: Microsoft App Managed Identity Resource Id for the bot.
Parameters:
Returns:
withMsaAppTenantId
public BotProperties withMsaAppTenantId(String msaAppTenantId)
Set the msaAppTenantId property: Microsoft App Tenant Id for the bot.
Parameters:
Returns:
withMsaAppType
public BotProperties withMsaAppType(MsaAppType msaAppType)
Set the msaAppType property: Microsoft App Type for the bot.
Parameters:
Returns:
withOpenWithHint
public BotProperties withOpenWithHint(String openWithHint)
Set the openWithHint property: The hint to browser (e.g. protocol handler) on how to open the bot for authoring.
Parameters:
Returns:
withParameters
public BotProperties withParameters(Map<String,String> parameters)
Set the parameters property: Contains resource parameters defined as key/value pairs.
Parameters:
Returns:
withPublicNetworkAccess
public BotProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether the bot is in an isolated network.
Parameters:
Returns:
withPublishingCredentials
public BotProperties withPublishingCredentials(String publishingCredentials)
Set the publishingCredentials property: Publishing credentials of the resource.
Parameters:
Returns:
withSchemaTransformationVersion
public BotProperties withSchemaTransformationVersion(String schemaTransformationVersion)
Set the schemaTransformationVersion property: The channel schema transformation version for the bot.
Parameters:
Returns:
withStorageResourceId
public BotProperties withStorageResourceId(String storageResourceId)
Set the storageResourceId property: The storage resourceId for the bot.
Parameters:
Returns:
withTenantId
public BotProperties withTenantId(String tenantId)
Set the tenantId property: The Tenant Id for the bot.
Parameters:
Returns: