Apps Interface
public interface Apps
An instance of this class provides access to all the operations defined in Apps.
Method Summary
Modifier and Type | Method and Description |
---|---|
UUID |
add(ApplicationCreateObject applicationCreateObject)
Creates a new LUIS app. |
Observable<UUID> |
addAsync(ApplicationCreateObject applicationCreateObject)
Creates a new LUIS app. |
UUID |
addCustomPrebuiltDomain(PrebuiltDomainCreateObject prebuiltDomainCreateObject)
Adds a prebuilt domain along with its intent and entity models as a new application. |
Observable<UUID> |
addCustomPrebuiltDomainAsync(PrebuiltDomainCreateObject prebuiltDomainCreateObject)
Adds a prebuilt domain along with its intent and entity models as a new application. |
AppsDeleteDefinitionStages.WithAppId |
delete()
Deletes an application. |
Operation |
delete(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter)
Deletes an application. |
Observable<Operation |
deleteAsync(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter)
Deletes an application. |
InputStream |
downloadQueryLogs(UUID appId)
Gets the logs of the past month's endpoint queries for the application. |
Observable<InputStream> |
downloadQueryLogsAsync(UUID appId)
Gets the logs of the past month's endpoint queries for the application. |
Application |
get(UUID appId)
Gets the application info. |
Observable<Application |
getAsync(UUID appId)
Gets the application info. |
Publish |
getPublishSettings(UUID appId)
Get the application publish settings including 'UseAllTrainingData'. |
Observable<Publish |
getPublishSettingsAsync(UUID appId)
Get the application publish settings including 'UseAllTrainingData'. |
Application |
getSettings(UUID appId)
Get the application settings including 'UseAllTrainingData'. |
Observable<Application |
getSettingsAsync(UUID appId)
Get the application settings including 'UseAllTrainingData'. |
AppsImportLuFormatDefinitionStages.WithLuisAppLu |
importLuFormat()
Imports an application to LUIS, the application's structure is included in the request body. |
UUID |
importLuFormat(String luisAppLu, ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body. |
Observable<UUID> |
importLuFormatAsync(String luisAppLu, ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body. |
AppsImportMethodDefinitionStages.WithLuisApp |
importMethod()
Imports an application to LUIS, the application's structure is included in the request body. |
UUID |
importMethod(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body. |
Observable<UUID> |
importMethodAsync(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body. |
AppsImportV2AppDefinitionStages.WithLuisAppV2 |
importV2App()
Imports an application to LUIS, the application's structure is included in the request body. |
UUID |
importV2App(LuisAppV2 luisAppV2, ImportV2AppAppsOptionalParameter importV2AppOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body. |
Observable<UUID> |
importV2AppAsync(LuisAppV2 luisAppV2, ImportV2AppAppsOptionalParameter importV2AppOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body. |
AppsListDefinitionStages.WithExecute |
list()
Lists all of the user's applications. |
List<Application |
list(ListAppsOptionalParameter listOptionalParameter)
Lists all of the user's applications. |
Observable<List<Application |
listAsync(ListAppsOptionalParameter listOptionalParameter)
Lists all of the user's applications. |
List<Prebuilt |
listAvailableCustomPrebuiltDomains()
Gets all the available custom prebuilt domains for all cultures. |
Observable<List<Prebuilt |
listAvailableCustomPrebuiltDomainsAsync()
Gets all the available custom prebuilt domains for all cultures. |
List<Prebuilt |
listAvailableCustomPrebuiltDomainsForCulture(String culture)
Gets all the available prebuilt domains for a specific culture. |
Observable<List<Prebuilt |
listAvailableCustomPrebuiltDomainsForCultureAsync(String culture)
Gets all the available prebuilt domains for a specific culture. |
Personal |
listCortanaEndpoints()
Gets the endpoint URLs for the prebuilt Cortana applications. |
Observable<Personal |
listCortanaEndpointsAsync()
Gets the endpoint URLs for the prebuilt Cortana applications. |
List<String> |
listDomains()
Gets the available application domains. |
Observable<List<String>> |
listDomainsAsync()
Gets the available application domains. |
Map<String, String> |
listEndpoints(UUID appId)
Returns the available endpoint deployment regions and URLs. |
Observable<Map<String, String>> |
listEndpointsAsync(UUID appId)
Returns the available endpoint deployment regions and URLs. |
List<Available |
listSupportedCultures()
Gets a list of supported cultures. Cultures are equivalent to the written language and locale. For example,"en-us" represents the U.S. variation of English. |
Observable<List<Available |
listSupportedCulturesAsync()
Gets a list of supported cultures. Cultures are equivalent to the written language and locale. For example,"en-us" represents the U.S. variation of English. |
List<String> |
listUsageScenarios()
Gets the application available usage scenarios. |
Observable<List<String>> |
listUsageScenariosAsync()
Gets the application available usage scenarios. |
InputStream |
packagePublishedApplicationAsGzip(UUID appId, String slotName)
package - Gets published LUIS application package in binary stream GZip format. Packages a published LUIS application as a GZip file to be used in the LUIS container. |
Observable<InputStream> |
packagePublishedApplicationAsGzipAsync(UUID appId, String slotName)
package - Gets published LUIS application package in binary stream GZip format. Packages a published LUIS application as a GZip file to be used in the LUIS container. |
InputStream |
packageTrainedApplicationAsGzip(UUID appId, String versionId)
package - Gets trained LUIS application package in binary stream GZip format. Packages trained LUIS application as GZip file to be used in the LUIS container. |
Observable<InputStream> |
packageTrainedApplicationAsGzipAsync(UUID appId, String versionId)
package - Gets trained LUIS application package in binary stream GZip format. Packages trained LUIS application as GZip file to be used in the LUIS container. |
Production |
publish(UUID appId, ApplicationPublishObject applicationPublishObject)
Publishes a specific version of the application. |
Observable<Production |
publishAsync(UUID appId, ApplicationPublishObject applicationPublishObject)
Publishes a specific version of the application. |
Operation |
update(UUID appId, ApplicationUpdateObject applicationUpdateObject)
Updates the name or description of the application. |
Observable<Operation |
updateAsync(UUID appId, ApplicationUpdateObject applicationUpdateObject)
Updates the name or description of the application. |
Operation |
updatePublishSettings(UUID appId, PublishSettingUpdateObject publishSettingUpdateObject)
Updates the application publish settings including 'UseAllTrainingData'. |
Observable<Operation |
updatePublishSettingsAsync(UUID appId, PublishSettingUpdateObject publishSettingUpdateObject)
Updates the application publish settings including 'UseAllTrainingData'. |
AppsUpdateSettingsDefinitionStages.WithAppId |
updateSettings()
Updates the application settings including 'UseAllTrainingData'. |
Operation |
updateSettings(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter)
Updates the application settings including 'UseAllTrainingData'. |
Observable<Operation |
updateSettingsAsync(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter)
Updates the application settings including 'UseAllTrainingData'. |
Method Details
add
public UUID add(ApplicationCreateObject applicationCreateObject)
Creates a new LUIS app.
Parameters:
Returns:
Throws:
addAsync
public Observable
Creates a new LUIS app.
Parameters:
Returns:
Throws:
addCustomPrebuiltDomain
public UUID addCustomPrebuiltDomain(PrebuiltDomainCreateObject prebuiltDomainCreateObject)
Adds a prebuilt domain along with its intent and entity models as a new application.
Parameters:
Returns:
Throws:
addCustomPrebuiltDomainAsync
public Observable
Adds a prebuilt domain along with its intent and entity models as a new application.
Parameters:
Returns:
Throws:
delete
public AppsDeleteDefinitionStages.WithAppId delete()
Deletes an application.
Returns:
delete
public OperationStatus delete(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter)
Deletes an application.
Parameters:
Returns:
Throws:
deleteAsync
public Observable
Deletes an application.
Parameters:
Returns:
Throws:
downloadQueryLogs
public InputStream downloadQueryLogs(UUID appId)
Gets the logs of the past month's endpoint queries for the application.
Parameters:
Returns:
Throws:
downloadQueryLogsAsync
public Observable
Gets the logs of the past month's endpoint queries for the application.
Parameters:
Returns:
Throws:
get
public ApplicationInfoResponse get(UUID appId)
Gets the application info.
Parameters:
Returns:
Throws:
getAsync
public Observable
Gets the application info.
Parameters:
Returns:
Throws:
getPublishSettings
public PublishSettings getPublishSettings(UUID appId)
Get the application publish settings including 'UseAllTrainingData'.
Parameters:
Returns:
Throws:
getPublishSettingsAsync
public Observable
Get the application publish settings including 'UseAllTrainingData'.
Parameters:
Returns:
Throws:
getSettings
public ApplicationSettings getSettings(UUID appId)
Get the application settings including 'UseAllTrainingData'.
Parameters:
Returns:
Throws:
getSettingsAsync
public Observable
Get the application settings including 'UseAllTrainingData'.
Parameters:
Returns:
Throws:
importLuFormat
public AppsImportLuFormatDefinitionStages.WithLuisAppLu importLuFormat()
Imports an application to LUIS, the application's structure is included in the request body.
Returns:
importLuFormat
public UUID importLuFormat(String luisAppLu, ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.
Parameters:
Returns:
Throws:
importLuFormatAsync
public Observable
Imports an application to LUIS, the application's structure is included in the request body.
Parameters:
Returns:
Throws:
importMethod
public AppsImportMethodDefinitionStages.WithLuisApp importMethod()
Imports an application to LUIS, the application's structure is included in the request body.
Returns:
importMethod
public UUID importMethod(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.
Parameters:
Returns:
Throws:
importMethodAsync
public Observable
Imports an application to LUIS, the application's structure is included in the request body.
Parameters:
Returns:
Throws:
importV2App
public AppsImportV2AppDefinitionStages.WithLuisAppV2 importV2App()
Imports an application to LUIS, the application's structure is included in the request body.
Returns:
importV2App
public UUID importV2App(LuisAppV2 luisAppV2, ImportV2AppAppsOptionalParameter importV2AppOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.
Parameters:
Returns:
Throws:
importV2AppAsync
public Observable
Imports an application to LUIS, the application's structure is included in the request body.
Parameters:
Returns:
Throws:
list
public AppsListDefinitionStages.WithExecute list()
Lists all of the user's applications.
Returns:
list
public List
Lists all of the user's applications.
Parameters:
Returns:
Throws:
listAsync
public Observable> listAsync(ListAppsOptionalParameter listOptionalParameter)
Lists all of the user's applications.
Parameters:
Returns:
Throws:
listAvailableCustomPrebuiltDomains
public List
Gets all the available custom prebuilt domains for all cultures.
Returns:
Throws:
listAvailableCustomPrebuiltDomainsAsync
public Observable> listAvailableCustomPrebuiltDomainsAsync()
Gets all the available custom prebuilt domains for all cultures.
Returns:
Throws:
listAvailableCustomPrebuiltDomainsForCulture
public List
Gets all the available prebuilt domains for a specific culture.
Parameters:
Returns:
Throws:
listAvailableCustomPrebuiltDomainsForCultureAsync
public Observable> listAvailableCustomPrebuiltDomainsForCultureAsync(String culture)
Gets all the available prebuilt domains for a specific culture.
Parameters:
Returns:
Throws:
listCortanaEndpoints
public PersonalAssistantsResponse listCortanaEndpoints()
Gets the endpoint URLs for the prebuilt Cortana applications.
Returns:
Throws:
listCortanaEndpointsAsync
public Observable
Gets the endpoint URLs for the prebuilt Cortana applications.
Returns:
Throws:
listDomains
public List
Gets the available application domains.
Returns:
Throws:
listDomainsAsync
public Observable> listDomainsAsync()
Gets the available application domains.
Returns:
Throws:
listEndpoints
public Map
Returns the available endpoint deployment regions and URLs.
Parameters:
Returns:
Throws:
listEndpointsAsync
public Observable
Returns the available endpoint deployment regions and URLs.
Parameters:
Returns:
Throws:
listSupportedCultures
public List
Gets a list of supported cultures. Cultures are equivalent to the written language and locale. For example,"en-us" represents the U.S. variation of English.
Returns:
Throws:
listSupportedCulturesAsync
public Observable> listSupportedCulturesAsync()
Gets a list of supported cultures. Cultures are equivalent to the written language and locale. For example,"en-us" represents the U.S. variation of English.
Returns:
Throws:
listUsageScenarios
public List
Gets the application available usage scenarios.
Returns:
Throws:
listUsageScenariosAsync
public Observable> listUsageScenariosAsync()
Gets the application available usage scenarios.
Returns:
Throws:
packagePublishedApplicationAsGzip
public InputStream packagePublishedApplicationAsGzip(UUID appId, String slotName)
package - Gets published LUIS application package in binary stream GZip format. Packages a published LUIS application as a GZip file to be used in the LUIS container.
Parameters:
Returns:
Throws:
packagePublishedApplicationAsGzipAsync
public Observable
package - Gets published LUIS application package in binary stream GZip format. Packages a published LUIS application as a GZip file to be used in the LUIS container.
Parameters:
Returns:
Throws:
packageTrainedApplicationAsGzip
public InputStream packageTrainedApplicationAsGzip(UUID appId, String versionId)
package - Gets trained LUIS application package in binary stream GZip format. Packages trained LUIS application as GZip file to be used in the LUIS container.
Parameters:
Returns:
Throws:
packageTrainedApplicationAsGzipAsync
public Observable
package - Gets trained LUIS application package in binary stream GZip format. Packages trained LUIS application as GZip file to be used in the LUIS container.
Parameters:
Returns:
Throws:
publish
public ProductionOrStagingEndpointInfo publish(UUID appId, ApplicationPublishObject applicationPublishObject)
Publishes a specific version of the application.
Parameters:
Returns:
Throws:
publishAsync
public Observable
Publishes a specific version of the application.
Parameters:
Returns:
Throws:
update
public OperationStatus update(UUID appId, ApplicationUpdateObject applicationUpdateObject)
Updates the name or description of the application.
Parameters:
Returns:
Throws:
updateAsync
public Observable
Updates the name or description of the application.
Parameters:
Returns:
Throws:
updatePublishSettings
public OperationStatus updatePublishSettings(UUID appId, PublishSettingUpdateObject publishSettingUpdateObject)
Updates the application publish settings including 'UseAllTrainingData'.
Parameters:
Returns:
Throws:
updatePublishSettingsAsync
public Observable
Updates the application publish settings including 'UseAllTrainingData'.
Parameters:
Returns:
Throws:
updateSettings
public AppsUpdateSettingsDefinitionStages.WithAppId updateSettings()
Updates the application settings including 'UseAllTrainingData'.
Returns:
updateSettings
public OperationStatus updateSettings(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter)
Updates the application settings including 'UseAllTrainingData'.
Parameters:
Returns:
Throws:
updateSettingsAsync
public Observable
Updates the application settings including 'UseAllTrainingData'.
Parameters:
Returns:
Throws:
Applies to
Azure SDK for Java