Class AppsImpl
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps
Apps.AppsDeleteDefinition, Apps.AppsDeleteDefinitionStages, Apps.AppsImportLuFormatDefinition, Apps.AppsImportLuFormatDefinitionStages, Apps.AppsImportMethodDefinition, Apps.AppsImportMethodDefinitionStages, Apps.AppsImportV2AppDefinition, Apps.AppsImportV2AppDefinitionStages, Apps.AppsListDefinition, Apps.AppsListDefinitionStages, Apps.AppsUpdateSettingsDefinition, Apps.AppsUpdateSettingsDefinitionStages
-
-
Constructor Summary
Constructors Constructor Description AppsImpl(retrofit2.Retrofit retrofit, LUISAuthoringClientImpl client)
Initializes an instance of AppsImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
add(ApplicationCreateObject applicationCreateObject)
Creates a new LUIS app.rx.Observable<UUID>
addAsync(ApplicationCreateObject applicationCreateObject)
Creates a new LUIS app.com.microsoft.rest.ServiceFuture<UUID>
addAsync(ApplicationCreateObject applicationCreateObject, com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
Creates a new LUIS app.UUID
addCustomPrebuiltDomain(PrebuiltDomainCreateObject prebuiltDomainCreateObject)
Adds a prebuilt domain along with its intent and entity models as a new application.rx.Observable<UUID>
addCustomPrebuiltDomainAsync(PrebuiltDomainCreateObject prebuiltDomainCreateObject)
Adds a prebuilt domain along with its intent and entity models as a new application.com.microsoft.rest.ServiceFuture<UUID>
addCustomPrebuiltDomainAsync(PrebuiltDomainCreateObject prebuiltDomainCreateObject, com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
Adds a prebuilt domain along with its intent and entity models as a new application.rx.Observable<com.microsoft.rest.ServiceResponse<UUID>>
addCustomPrebuiltDomainWithServiceResponseAsync(PrebuiltDomainCreateObject prebuiltDomainCreateObject)
Adds a prebuilt domain along with its intent and entity models as a new application.rx.Observable<com.microsoft.rest.ServiceResponse<UUID>>
addWithServiceResponseAsync(ApplicationCreateObject applicationCreateObject)
Creates a new LUIS app.com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsDeleteParameters
delete()
Deletes an application.OperationStatus
delete(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter)
Deletes an application.rx.Observable<OperationStatus>
deleteAsync(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter)
Deletes an application.com.microsoft.rest.ServiceFuture<OperationStatus>
deleteAsync(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Deletes an application.rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>>
deleteWithServiceResponseAsync(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter)
Deletes an application.rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>>
deleteWithServiceResponseAsync(UUID appId, Boolean force)
Deletes an application.InputStream
downloadQueryLogs(UUID appId)
Gets the logs of the past month's endpoint queries for the application.rx.Observable<InputStream>
downloadQueryLogsAsync(UUID appId)
Gets the logs of the past month's endpoint queries for the application.com.microsoft.rest.ServiceFuture<InputStream>
downloadQueryLogsAsync(UUID appId, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
Gets the logs of the past month's endpoint queries for the application.rx.Observable<com.microsoft.rest.ServiceResponse<InputStream>>
downloadQueryLogsWithServiceResponseAsync(UUID appId)
Gets the logs of the past month's endpoint queries for the application.ApplicationInfoResponse
get(UUID appId)
Gets the application info.rx.Observable<ApplicationInfoResponse>
getAsync(UUID appId)
Gets the application info.com.microsoft.rest.ServiceFuture<ApplicationInfoResponse>
getAsync(UUID appId, com.microsoft.rest.ServiceCallback<ApplicationInfoResponse> serviceCallback)
Gets the application info.PublishSettings
getPublishSettings(UUID appId)
Get the application publish settings including 'UseAllTrainingData'.rx.Observable<PublishSettings>
getPublishSettingsAsync(UUID appId)
Get the application publish settings including 'UseAllTrainingData'.com.microsoft.rest.ServiceFuture<PublishSettings>
getPublishSettingsAsync(UUID appId, com.microsoft.rest.ServiceCallback<PublishSettings> serviceCallback)
Get the application publish settings including 'UseAllTrainingData'.rx.Observable<com.microsoft.rest.ServiceResponse<PublishSettings>>
getPublishSettingsWithServiceResponseAsync(UUID appId)
Get the application publish settings including 'UseAllTrainingData'.ApplicationSettings
getSettings(UUID appId)
Get the application settings including 'UseAllTrainingData'.rx.Observable<ApplicationSettings>
getSettingsAsync(UUID appId)
Get the application settings including 'UseAllTrainingData'.com.microsoft.rest.ServiceFuture<ApplicationSettings>
getSettingsAsync(UUID appId, com.microsoft.rest.ServiceCallback<ApplicationSettings> serviceCallback)
Get the application settings including 'UseAllTrainingData'.rx.Observable<com.microsoft.rest.ServiceResponse<ApplicationSettings>>
getSettingsWithServiceResponseAsync(UUID appId)
Get the application settings including 'UseAllTrainingData'.rx.Observable<com.microsoft.rest.ServiceResponse<ApplicationInfoResponse>>
getWithServiceResponseAsync(UUID appId)
Gets the application info.com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsImportLuFormatParameters
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.rx.Observable<UUID>
importLuFormatAsync(String luisAppLu, ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.com.microsoft.rest.ServiceFuture<UUID>
importLuFormatAsync(String luisAppLu, ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter, com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
Imports an application to LUIS, the application's structure is included in the request body.rx.Observable<com.microsoft.rest.ServiceResponse<UUID>>
importLuFormatWithServiceResponseAsync(String luisAppLu, ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.rx.Observable<com.microsoft.rest.ServiceResponse<UUID>>
importLuFormatWithServiceResponseAsync(String luisAppLu, String appName)
Imports an application to LUIS, the application's structure is included in the request body.com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsImportMethodParameters
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.rx.Observable<UUID>
importMethodAsync(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.com.microsoft.rest.ServiceFuture<UUID>
importMethodAsync(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter, com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
Imports an application to LUIS, the application's structure is included in the request body.rx.Observable<com.microsoft.rest.ServiceResponse<UUID>>
importMethodWithServiceResponseAsync(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.rx.Observable<com.microsoft.rest.ServiceResponse<UUID>>
importMethodWithServiceResponseAsync(LuisApp luisApp, String appName)
Imports an application to LUIS, the application's structure is included in the request body.com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsImportV2AppParameters
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.rx.Observable<UUID>
importV2AppAsync(LuisAppV2 luisAppV2, ImportV2AppAppsOptionalParameter importV2AppOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.com.microsoft.rest.ServiceFuture<UUID>
importV2AppAsync(LuisAppV2 luisAppV2, ImportV2AppAppsOptionalParameter importV2AppOptionalParameter, com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
Imports an application to LUIS, the application's structure is included in the request body.rx.Observable<com.microsoft.rest.ServiceResponse<UUID>>
importV2AppWithServiceResponseAsync(LuisAppV2 luisAppV2, ImportV2AppAppsOptionalParameter importV2AppOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.rx.Observable<com.microsoft.rest.ServiceResponse<UUID>>
importV2AppWithServiceResponseAsync(LuisAppV2 luisAppV2, String appName)
Imports an application to LUIS, the application's structure is included in the request body.com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsListParameters
list()
Lists all of the user's applications.List<ApplicationInfoResponse>
list(ListAppsOptionalParameter listOptionalParameter)
Lists all of the user's applications.rx.Observable<List<ApplicationInfoResponse>>
listAsync(ListAppsOptionalParameter listOptionalParameter)
Lists all of the user's applications.com.microsoft.rest.ServiceFuture<List<ApplicationInfoResponse>>
listAsync(ListAppsOptionalParameter listOptionalParameter, com.microsoft.rest.ServiceCallback<List<ApplicationInfoResponse>> serviceCallback)
Lists all of the user's applications.List<PrebuiltDomain>
listAvailableCustomPrebuiltDomains()
Gets all the available custom prebuilt domains for all cultures.rx.Observable<List<PrebuiltDomain>>
listAvailableCustomPrebuiltDomainsAsync()
Gets all the available custom prebuilt domains for all cultures.com.microsoft.rest.ServiceFuture<List<PrebuiltDomain>>
listAvailableCustomPrebuiltDomainsAsync(com.microsoft.rest.ServiceCallback<List<PrebuiltDomain>> serviceCallback)
Gets all the available custom prebuilt domains for all cultures.List<PrebuiltDomain>
listAvailableCustomPrebuiltDomainsForCulture(String culture)
Gets all the available prebuilt domains for a specific culture.rx.Observable<List<PrebuiltDomain>>
listAvailableCustomPrebuiltDomainsForCultureAsync(String culture)
Gets all the available prebuilt domains for a specific culture.com.microsoft.rest.ServiceFuture<List<PrebuiltDomain>>
listAvailableCustomPrebuiltDomainsForCultureAsync(String culture, com.microsoft.rest.ServiceCallback<List<PrebuiltDomain>> serviceCallback)
Gets all the available prebuilt domains for a specific culture.rx.Observable<com.microsoft.rest.ServiceResponse<List<PrebuiltDomain>>>
listAvailableCustomPrebuiltDomainsForCultureWithServiceResponseAsync(String culture)
Gets all the available prebuilt domains for a specific culture.rx.Observable<com.microsoft.rest.ServiceResponse<List<PrebuiltDomain>>>
listAvailableCustomPrebuiltDomainsWithServiceResponseAsync()
Gets all the available custom prebuilt domains for all cultures.PersonalAssistantsResponse
listCortanaEndpoints()
Gets the endpoint URLs for the prebuilt Cortana applications.rx.Observable<PersonalAssistantsResponse>
listCortanaEndpointsAsync()
Gets the endpoint URLs for the prebuilt Cortana applications.com.microsoft.rest.ServiceFuture<PersonalAssistantsResponse>
listCortanaEndpointsAsync(com.microsoft.rest.ServiceCallback<PersonalAssistantsResponse> serviceCallback)
Gets the endpoint URLs for the prebuilt Cortana applications.rx.Observable<com.microsoft.rest.ServiceResponse<PersonalAssistantsResponse>>
listCortanaEndpointsWithServiceResponseAsync()
Gets the endpoint URLs for the prebuilt Cortana applications.List<String>
listDomains()
Gets the available application domains.rx.Observable<List<String>>
listDomainsAsync()
Gets the available application domains.com.microsoft.rest.ServiceFuture<List<String>>
listDomainsAsync(com.microsoft.rest.ServiceCallback<List<String>> serviceCallback)
Gets the available application domains.rx.Observable<com.microsoft.rest.ServiceResponse<List<String>>>
listDomainsWithServiceResponseAsync()
Gets the available application domains.Map<String,String>
listEndpoints(UUID appId)
Returns the available endpoint deployment regions and URLs.rx.Observable<Map<String,String>>
listEndpointsAsync(UUID appId)
Returns the available endpoint deployment regions and URLs.com.microsoft.rest.ServiceFuture<Map<String,String>>
listEndpointsAsync(UUID appId, com.microsoft.rest.ServiceCallback<Map<String,String>> serviceCallback)
Returns the available endpoint deployment regions and URLs.rx.Observable<com.microsoft.rest.ServiceResponse<Map<String,String>>>
listEndpointsWithServiceResponseAsync(UUID appId)
Returns the available endpoint deployment regions and URLs.List<AvailableCulture>
listSupportedCultures()
Gets a list of supported cultures.rx.Observable<List<AvailableCulture>>
listSupportedCulturesAsync()
Gets a list of supported cultures.com.microsoft.rest.ServiceFuture<List<AvailableCulture>>
listSupportedCulturesAsync(com.microsoft.rest.ServiceCallback<List<AvailableCulture>> serviceCallback)
Gets a list of supported cultures.rx.Observable<com.microsoft.rest.ServiceResponse<List<AvailableCulture>>>
listSupportedCulturesWithServiceResponseAsync()
Gets a list of supported cultures.List<String>
listUsageScenarios()
Gets the application available usage scenarios.rx.Observable<List<String>>
listUsageScenariosAsync()
Gets the application available usage scenarios.com.microsoft.rest.ServiceFuture<List<String>>
listUsageScenariosAsync(com.microsoft.rest.ServiceCallback<List<String>> serviceCallback)
Gets the application available usage scenarios.rx.Observable<com.microsoft.rest.ServiceResponse<List<String>>>
listUsageScenariosWithServiceResponseAsync()
Gets the application available usage scenarios.rx.Observable<com.microsoft.rest.ServiceResponse<List<ApplicationInfoResponse>>>
listWithServiceResponseAsync(ListAppsOptionalParameter listOptionalParameter)
Lists all of the user's applications.rx.Observable<com.microsoft.rest.ServiceResponse<List<ApplicationInfoResponse>>>
listWithServiceResponseAsync(Integer skip, Integer take)
Lists all of the user's applications.InputStream
packagePublishedApplicationAsGzip(UUID appId, String slotName)
package - Gets published LUIS application package in binary stream GZip format.rx.Observable<InputStream>
packagePublishedApplicationAsGzipAsync(UUID appId, String slotName)
package - Gets published LUIS application package in binary stream GZip format.com.microsoft.rest.ServiceFuture<InputStream>
packagePublishedApplicationAsGzipAsync(UUID appId, String slotName, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
package - Gets published LUIS application package in binary stream GZip format.rx.Observable<com.microsoft.rest.ServiceResponse<InputStream>>
packagePublishedApplicationAsGzipWithServiceResponseAsync(UUID appId, String slotName)
package - Gets published LUIS application package in binary stream GZip format.InputStream
packageTrainedApplicationAsGzip(UUID appId, String versionId)
package - Gets trained LUIS application package in binary stream GZip format.rx.Observable<InputStream>
packageTrainedApplicationAsGzipAsync(UUID appId, String versionId)
package - Gets trained LUIS application package in binary stream GZip format.com.microsoft.rest.ServiceFuture<InputStream>
packageTrainedApplicationAsGzipAsync(UUID appId, String versionId, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
package - Gets trained LUIS application package in binary stream GZip format.rx.Observable<com.microsoft.rest.ServiceResponse<InputStream>>
packageTrainedApplicationAsGzipWithServiceResponseAsync(UUID appId, String versionId)
package - Gets trained LUIS application package in binary stream GZip format.ProductionOrStagingEndpointInfo
publish(UUID appId, ApplicationPublishObject applicationPublishObject)
Publishes a specific version of the application.rx.Observable<ProductionOrStagingEndpointInfo>
publishAsync(UUID appId, ApplicationPublishObject applicationPublishObject)
Publishes a specific version of the application.com.microsoft.rest.ServiceFuture<ProductionOrStagingEndpointInfo>
publishAsync(UUID appId, ApplicationPublishObject applicationPublishObject, com.microsoft.rest.ServiceCallback<ProductionOrStagingEndpointInfo> serviceCallback)
Publishes a specific version of the application.rx.Observable<com.microsoft.rest.ServiceResponse<ProductionOrStagingEndpointInfo>>
publishWithServiceResponseAsync(UUID appId, ApplicationPublishObject applicationPublishObject)
Publishes a specific version of the application.OperationStatus
update(UUID appId, ApplicationUpdateObject applicationUpdateObject)
Updates the name or description of the application.rx.Observable<OperationStatus>
updateAsync(UUID appId, ApplicationUpdateObject applicationUpdateObject)
Updates the name or description of the application.com.microsoft.rest.ServiceFuture<OperationStatus>
updateAsync(UUID appId, ApplicationUpdateObject applicationUpdateObject, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Updates the name or description of the application.OperationStatus
updatePublishSettings(UUID appId, PublishSettingUpdateObject publishSettingUpdateObject)
Updates the application publish settings including 'UseAllTrainingData'.rx.Observable<OperationStatus>
updatePublishSettingsAsync(UUID appId, PublishSettingUpdateObject publishSettingUpdateObject)
Updates the application publish settings including 'UseAllTrainingData'.com.microsoft.rest.ServiceFuture<OperationStatus>
updatePublishSettingsAsync(UUID appId, PublishSettingUpdateObject publishSettingUpdateObject, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Updates the application publish settings including 'UseAllTrainingData'.rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>>
updatePublishSettingsWithServiceResponseAsync(UUID appId, PublishSettingUpdateObject publishSettingUpdateObject)
Updates the application publish settings including 'UseAllTrainingData'.com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsUpdateSettingsParameters
updateSettings()
Updates the application settings including 'UseAllTrainingData'.OperationStatus
updateSettings(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter)
Updates the application settings including 'UseAllTrainingData'.rx.Observable<OperationStatus>
updateSettingsAsync(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter)
Updates the application settings including 'UseAllTrainingData'.com.microsoft.rest.ServiceFuture<OperationStatus>
updateSettingsAsync(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Updates the application settings including 'UseAllTrainingData'.rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>>
updateSettingsWithServiceResponseAsync(UUID appId, boolean isPublic)
Updates the application settings including 'UseAllTrainingData'.rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>>
updateSettingsWithServiceResponseAsync(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter)
Updates the application settings including 'UseAllTrainingData'.rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>>
updateWithServiceResponseAsync(UUID appId, ApplicationUpdateObject applicationUpdateObject)
Updates the name or description of the application.
-
-
-
Constructor Detail
-
AppsImpl
public AppsImpl(retrofit2.Retrofit retrofit, LUISAuthoringClientImpl client)
Initializes an instance of AppsImpl.- Parameters:
retrofit
- the Retrofit instance built from a Retrofit Builder.client
- the instance of the service client containing this operation class.
-
-
Method Detail
-
add
public UUID add(ApplicationCreateObject applicationCreateObject)
Creates a new LUIS app.- Specified by:
add
in interfaceApps
- Parameters:
applicationCreateObject
- An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.- Returns:
- the UUID object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
addAsync
public com.microsoft.rest.ServiceFuture<UUID> addAsync(ApplicationCreateObject applicationCreateObject, com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
Creates a new LUIS app.- Parameters:
applicationCreateObject
- An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addAsync
public rx.Observable<UUID> addAsync(ApplicationCreateObject applicationCreateObject)
Creates a new LUIS app.- Specified by:
addAsync
in interfaceApps
- Parameters:
applicationCreateObject
- An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.- Returns:
- the observable to the UUID object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> addWithServiceResponseAsync(ApplicationCreateObject applicationCreateObject)
Creates a new LUIS app.- Parameters:
applicationCreateObject
- An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.- Returns:
- the observable to the UUID object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
list
public List<ApplicationInfoResponse> list(ListAppsOptionalParameter listOptionalParameter)
Lists all of the user's applications.- Specified by:
list
in interfaceApps
- Parameters:
listOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the List<ApplicationInfoResponse> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listAsync
public com.microsoft.rest.ServiceFuture<List<ApplicationInfoResponse>> listAsync(ListAppsOptionalParameter listOptionalParameter, com.microsoft.rest.ServiceCallback<List<ApplicationInfoResponse>> serviceCallback)
Lists all of the user's applications.- Parameters:
listOptionalParameter
- the object representing the optional parameters to be set before calling this APIserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAsync
public rx.Observable<List<ApplicationInfoResponse>> listAsync(ListAppsOptionalParameter listOptionalParameter)
Lists all of the user's applications.- Specified by:
listAsync
in interfaceApps
- Parameters:
listOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the List<ApplicationInfoResponse> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<List<ApplicationInfoResponse>>> listWithServiceResponseAsync(ListAppsOptionalParameter listOptionalParameter)
Lists all of the user's applications.- Parameters:
listOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the List<ApplicationInfoResponse> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<List<ApplicationInfoResponse>>> listWithServiceResponseAsync(Integer skip, Integer take)
Lists all of the user's applications.- Parameters:
skip
- The number of entries to skip. Default value is 0.take
- The number of entries to return. Maximum page size is 500. Default is 100.- Returns:
- the observable to the List<ApplicationInfoResponse> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
list
public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsListParameters list()
Description copied from interface:Apps
Lists all of the user's applications.
-
importMethod
public UUID importMethod(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.- Specified by:
importMethod
in interfaceApps
- Parameters:
luisApp
- A LUIS application structure.importMethodOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the UUID object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
importMethodAsync
public com.microsoft.rest.ServiceFuture<UUID> importMethodAsync(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter, com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
Imports an application to LUIS, the application's structure is included in the request body.- Parameters:
luisApp
- A LUIS application structure.importMethodOptionalParameter
- the object representing the optional parameters to be set before calling this APIserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importMethodAsync
public rx.Observable<UUID> importMethodAsync(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.- Specified by:
importMethodAsync
in interfaceApps
- Parameters:
luisApp
- A LUIS application structure.importMethodOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the UUID object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importMethodWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> importMethodWithServiceResponseAsync(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.- Parameters:
luisApp
- A LUIS application structure.importMethodOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the UUID object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importMethodWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> importMethodWithServiceResponseAsync(LuisApp luisApp, String appName)
Imports an application to LUIS, the application's structure is included in the request body.- Parameters:
luisApp
- A LUIS application structure.appName
- The application name to create. If not specified, the application name will be read from the imported object. If the application name already exists, an error is returned.- Returns:
- the observable to the UUID object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importMethod
public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsImportMethodParameters importMethod()
Description copied from interface:Apps
Imports an application to LUIS, the application's structure is included in the request body.- Specified by:
importMethod
in interfaceApps
- Returns:
- the first stage of the importMethod call
-
listCortanaEndpoints
public PersonalAssistantsResponse listCortanaEndpoints()
Gets the endpoint URLs for the prebuilt Cortana applications.- Specified by:
listCortanaEndpoints
in interfaceApps
- Returns:
- the PersonalAssistantsResponse object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listCortanaEndpointsAsync
public com.microsoft.rest.ServiceFuture<PersonalAssistantsResponse> listCortanaEndpointsAsync(com.microsoft.rest.ServiceCallback<PersonalAssistantsResponse> serviceCallback)
Gets the endpoint URLs for the prebuilt Cortana applications.- Parameters:
serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listCortanaEndpointsAsync
public rx.Observable<PersonalAssistantsResponse> listCortanaEndpointsAsync()
Gets the endpoint URLs for the prebuilt Cortana applications.- Specified by:
listCortanaEndpointsAsync
in interfaceApps
- Returns:
- the observable to the PersonalAssistantsResponse object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listCortanaEndpointsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<PersonalAssistantsResponse>> listCortanaEndpointsWithServiceResponseAsync()
Gets the endpoint URLs for the prebuilt Cortana applications.- Returns:
- the observable to the PersonalAssistantsResponse object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listDomains
public List<String> listDomains()
Gets the available application domains.- Specified by:
listDomains
in interfaceApps
- Returns:
- the List<String> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listDomainsAsync
public com.microsoft.rest.ServiceFuture<List<String>> listDomainsAsync(com.microsoft.rest.ServiceCallback<List<String>> serviceCallback)
Gets the available application domains.- Parameters:
serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listDomainsAsync
public rx.Observable<List<String>> listDomainsAsync()
Gets the available application domains.- Specified by:
listDomainsAsync
in interfaceApps
- Returns:
- the observable to the List<String> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listDomainsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<List<String>>> listDomainsWithServiceResponseAsync()
Gets the available application domains.- Returns:
- the observable to the List<String> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageScenarios
public List<String> listUsageScenarios()
Gets the application available usage scenarios.- Specified by:
listUsageScenarios
in interfaceApps
- Returns:
- the List<String> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listUsageScenariosAsync
public com.microsoft.rest.ServiceFuture<List<String>> listUsageScenariosAsync(com.microsoft.rest.ServiceCallback<List<String>> serviceCallback)
Gets the application available usage scenarios.- Parameters:
serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageScenariosAsync
public rx.Observable<List<String>> listUsageScenariosAsync()
Gets the application available usage scenarios.- Specified by:
listUsageScenariosAsync
in interfaceApps
- Returns:
- the observable to the List<String> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageScenariosWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<List<String>>> listUsageScenariosWithServiceResponseAsync()
Gets the application available usage scenarios.- Returns:
- the observable to the List<String> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listSupportedCultures
public List<AvailableCulture> 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.- Specified by:
listSupportedCultures
in interfaceApps
- Returns:
- the List<AvailableCulture> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listSupportedCulturesAsync
public com.microsoft.rest.ServiceFuture<List<AvailableCulture>> listSupportedCulturesAsync(com.microsoft.rest.ServiceCallback<List<AvailableCulture>> serviceCallback)
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.- Parameters:
serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listSupportedCulturesAsync
public rx.Observable<List<AvailableCulture>> 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.- Specified by:
listSupportedCulturesAsync
in interfaceApps
- Returns:
- the observable to the List<AvailableCulture> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listSupportedCulturesWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<List<AvailableCulture>>> listSupportedCulturesWithServiceResponseAsync()
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:
- the observable to the List<AvailableCulture> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
downloadQueryLogs
public InputStream downloadQueryLogs(UUID appId)
Gets the logs of the past month's endpoint queries for the application.- Specified by:
downloadQueryLogs
in interfaceApps
- Parameters:
appId
- The application ID.- Returns:
- the InputStream object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationcom.microsoft.azure.CloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
downloadQueryLogsAsync
public com.microsoft.rest.ServiceFuture<InputStream> downloadQueryLogsAsync(UUID appId, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
Gets the logs of the past month's endpoint queries for the application.- Parameters:
appId
- The application ID.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
downloadQueryLogsAsync
public rx.Observable<InputStream> downloadQueryLogsAsync(UUID appId)
Gets the logs of the past month's endpoint queries for the application.- Specified by:
downloadQueryLogsAsync
in interfaceApps
- Parameters:
appId
- The application ID.- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
downloadQueryLogsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<InputStream>> downloadQueryLogsWithServiceResponseAsync(UUID appId)
Gets the logs of the past month's endpoint queries for the application.- Parameters:
appId
- The application ID.- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
get
public ApplicationInfoResponse get(UUID appId)
Gets the application info.- Specified by:
get
in interfaceApps
- Parameters:
appId
- The application ID.- Returns:
- the ApplicationInfoResponse object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getAsync
public com.microsoft.rest.ServiceFuture<ApplicationInfoResponse> getAsync(UUID appId, com.microsoft.rest.ServiceCallback<ApplicationInfoResponse> serviceCallback)
Gets the application info.- Parameters:
appId
- The application ID.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAsync
public rx.Observable<ApplicationInfoResponse> getAsync(UUID appId)
Gets the application info.- Specified by:
getAsync
in interfaceApps
- Parameters:
appId
- The application ID.- Returns:
- the observable to the ApplicationInfoResponse object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<ApplicationInfoResponse>> getWithServiceResponseAsync(UUID appId)
Gets the application info.- Parameters:
appId
- The application ID.- Returns:
- the observable to the ApplicationInfoResponse object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
update
public OperationStatus update(UUID appId, ApplicationUpdateObject applicationUpdateObject)
Updates the name or description of the application.- Specified by:
update
in interfaceApps
- Parameters:
appId
- The application ID.applicationUpdateObject
- A model containing Name and Description of the application.- Returns:
- the OperationStatus object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateAsync
public com.microsoft.rest.ServiceFuture<OperationStatus> updateAsync(UUID appId, ApplicationUpdateObject applicationUpdateObject, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Updates the name or description of the application.- Parameters:
appId
- The application ID.applicationUpdateObject
- A model containing Name and Description of the application.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateAsync
public rx.Observable<OperationStatus> updateAsync(UUID appId, ApplicationUpdateObject applicationUpdateObject)
Updates the name or description of the application.- Specified by:
updateAsync
in interfaceApps
- Parameters:
appId
- The application ID.applicationUpdateObject
- A model containing Name and Description of the application.- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateWithServiceResponseAsync(UUID appId, ApplicationUpdateObject applicationUpdateObject)
Updates the name or description of the application.- Parameters:
appId
- The application ID.applicationUpdateObject
- A model containing Name and Description of the application.- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
delete
public OperationStatus delete(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter)
Deletes an application.- Specified by:
delete
in interfaceApps
- Parameters:
appId
- The application ID.deleteOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the OperationStatus object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteAsync
public com.microsoft.rest.ServiceFuture<OperationStatus> deleteAsync(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Deletes an application.- Parameters:
appId
- The application ID.deleteOptionalParameter
- the object representing the optional parameters to be set before calling this APIserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteAsync
public rx.Observable<OperationStatus> deleteAsync(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter)
Deletes an application.- Specified by:
deleteAsync
in interfaceApps
- Parameters:
appId
- The application ID.deleteOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteWithServiceResponseAsync(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter)
Deletes an application.- Parameters:
appId
- The application ID.deleteOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteWithServiceResponseAsync(UUID appId, Boolean force)
Deletes an application.- Parameters:
appId
- The application ID.force
- A flag to indicate whether to force an operation.- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
delete
public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsDeleteParameters delete()
Description copied from interface:Apps
Deletes an application.
-
publish
public ProductionOrStagingEndpointInfo publish(UUID appId, ApplicationPublishObject applicationPublishObject)
Publishes a specific version of the application.- Specified by:
publish
in interfaceApps
- Parameters:
appId
- The application ID.applicationPublishObject
- The application publish object. The region is the target region that the application is published to.- Returns:
- the ProductionOrStagingEndpointInfo object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
publishAsync
public com.microsoft.rest.ServiceFuture<ProductionOrStagingEndpointInfo> publishAsync(UUID appId, ApplicationPublishObject applicationPublishObject, com.microsoft.rest.ServiceCallback<ProductionOrStagingEndpointInfo> serviceCallback)
Publishes a specific version of the application.- Parameters:
appId
- The application ID.applicationPublishObject
- The application publish object. The region is the target region that the application is published to.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
publishAsync
public rx.Observable<ProductionOrStagingEndpointInfo> publishAsync(UUID appId, ApplicationPublishObject applicationPublishObject)
Publishes a specific version of the application.- Specified by:
publishAsync
in interfaceApps
- Parameters:
appId
- The application ID.applicationPublishObject
- The application publish object. The region is the target region that the application is published to.- Returns:
- the observable to the ProductionOrStagingEndpointInfo object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
publishWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<ProductionOrStagingEndpointInfo>> publishWithServiceResponseAsync(UUID appId, ApplicationPublishObject applicationPublishObject)
Publishes a specific version of the application.- Parameters:
appId
- The application ID.applicationPublishObject
- The application publish object. The region is the target region that the application is published to.- Returns:
- the observable to the ProductionOrStagingEndpointInfo object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSettings
public ApplicationSettings getSettings(UUID appId)
Get the application settings including 'UseAllTrainingData'.- Specified by:
getSettings
in interfaceApps
- Parameters:
appId
- The application ID.- Returns:
- the ApplicationSettings object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getSettingsAsync
public com.microsoft.rest.ServiceFuture<ApplicationSettings> getSettingsAsync(UUID appId, com.microsoft.rest.ServiceCallback<ApplicationSettings> serviceCallback)
Get the application settings including 'UseAllTrainingData'.- Parameters:
appId
- The application ID.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSettingsAsync
public rx.Observable<ApplicationSettings> getSettingsAsync(UUID appId)
Get the application settings including 'UseAllTrainingData'.- Specified by:
getSettingsAsync
in interfaceApps
- Parameters:
appId
- The application ID.- Returns:
- the observable to the ApplicationSettings object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getSettingsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<ApplicationSettings>> getSettingsWithServiceResponseAsync(UUID appId)
Get the application settings including 'UseAllTrainingData'.- Parameters:
appId
- The application ID.- Returns:
- the observable to the ApplicationSettings object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSettings
public OperationStatus updateSettings(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter)
Updates the application settings including 'UseAllTrainingData'.- Specified by:
updateSettings
in interfaceApps
- Parameters:
appId
- The application ID.updateSettingsOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the OperationStatus object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateSettingsAsync
public com.microsoft.rest.ServiceFuture<OperationStatus> updateSettingsAsync(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Updates the application settings including 'UseAllTrainingData'.- Parameters:
appId
- The application ID.updateSettingsOptionalParameter
- the object representing the optional parameters to be set before calling this APIserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSettingsAsync
public rx.Observable<OperationStatus> updateSettingsAsync(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter)
Updates the application settings including 'UseAllTrainingData'.- Specified by:
updateSettingsAsync
in interfaceApps
- Parameters:
appId
- The application ID.updateSettingsOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSettingsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateSettingsWithServiceResponseAsync(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter)
Updates the application settings including 'UseAllTrainingData'.- Parameters:
appId
- The application ID.updateSettingsOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSettingsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateSettingsWithServiceResponseAsync(UUID appId, boolean isPublic)
Updates the application settings including 'UseAllTrainingData'.- Parameters:
appId
- The application ID.isPublic
- Setting your application as public allows other people to use your application's endpoint using their own keys.- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateSettings
public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsUpdateSettingsParameters updateSettings()
Description copied from interface:Apps
Updates the application settings including 'UseAllTrainingData'.- Specified by:
updateSettings
in interfaceApps
- Returns:
- the first stage of the updateSettings call
-
getPublishSettings
public PublishSettings getPublishSettings(UUID appId)
Get the application publish settings including 'UseAllTrainingData'.- Specified by:
getPublishSettings
in interfaceApps
- Parameters:
appId
- The application ID.- Returns:
- the PublishSettings object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getPublishSettingsAsync
public com.microsoft.rest.ServiceFuture<PublishSettings> getPublishSettingsAsync(UUID appId, com.microsoft.rest.ServiceCallback<PublishSettings> serviceCallback)
Get the application publish settings including 'UseAllTrainingData'.- Parameters:
appId
- The application ID.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPublishSettingsAsync
public rx.Observable<PublishSettings> getPublishSettingsAsync(UUID appId)
Get the application publish settings including 'UseAllTrainingData'.- Specified by:
getPublishSettingsAsync
in interfaceApps
- Parameters:
appId
- The application ID.- Returns:
- the observable to the PublishSettings object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPublishSettingsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<PublishSettings>> getPublishSettingsWithServiceResponseAsync(UUID appId)
Get the application publish settings including 'UseAllTrainingData'.- Parameters:
appId
- The application ID.- Returns:
- the observable to the PublishSettings object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updatePublishSettings
public OperationStatus updatePublishSettings(UUID appId, PublishSettingUpdateObject publishSettingUpdateObject)
Updates the application publish settings including 'UseAllTrainingData'.- Specified by:
updatePublishSettings
in interfaceApps
- Parameters:
appId
- The application ID.publishSettingUpdateObject
- An object containing the new publish application settings.- Returns:
- the OperationStatus object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updatePublishSettingsAsync
public com.microsoft.rest.ServiceFuture<OperationStatus> updatePublishSettingsAsync(UUID appId, PublishSettingUpdateObject publishSettingUpdateObject, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Updates the application publish settings including 'UseAllTrainingData'.- Parameters:
appId
- The application ID.publishSettingUpdateObject
- An object containing the new publish application settings.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updatePublishSettingsAsync
public rx.Observable<OperationStatus> updatePublishSettingsAsync(UUID appId, PublishSettingUpdateObject publishSettingUpdateObject)
Updates the application publish settings including 'UseAllTrainingData'.- Specified by:
updatePublishSettingsAsync
in interfaceApps
- Parameters:
appId
- The application ID.publishSettingUpdateObject
- An object containing the new publish application settings.- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updatePublishSettingsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updatePublishSettingsWithServiceResponseAsync(UUID appId, PublishSettingUpdateObject publishSettingUpdateObject)
Updates the application publish settings including 'UseAllTrainingData'.- Parameters:
appId
- The application ID.publishSettingUpdateObject
- An object containing the new publish application settings.- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listEndpoints
public Map<String,String> listEndpoints(UUID appId)
Returns the available endpoint deployment regions and URLs.- Specified by:
listEndpoints
in interfaceApps
- Parameters:
appId
- The application ID.- Returns:
- the Map<String, String> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listEndpointsAsync
public com.microsoft.rest.ServiceFuture<Map<String,String>> listEndpointsAsync(UUID appId, com.microsoft.rest.ServiceCallback<Map<String,String>> serviceCallback)
Returns the available endpoint deployment regions and URLs.- Parameters:
appId
- The application ID.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listEndpointsAsync
public rx.Observable<Map<String,String>> listEndpointsAsync(UUID appId)
Returns the available endpoint deployment regions and URLs.- Specified by:
listEndpointsAsync
in interfaceApps
- Parameters:
appId
- The application ID.- Returns:
- the observable to the Map<String, String> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listEndpointsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<Map<String,String>>> listEndpointsWithServiceResponseAsync(UUID appId)
Returns the available endpoint deployment regions and URLs.- Parameters:
appId
- The application ID.- Returns:
- the observable to the Map<String, String> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAvailableCustomPrebuiltDomains
public List<PrebuiltDomain> listAvailableCustomPrebuiltDomains()
Gets all the available custom prebuilt domains for all cultures.- Specified by:
listAvailableCustomPrebuiltDomains
in interfaceApps
- Returns:
- the List<PrebuiltDomain> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listAvailableCustomPrebuiltDomainsAsync
public com.microsoft.rest.ServiceFuture<List<PrebuiltDomain>> listAvailableCustomPrebuiltDomainsAsync(com.microsoft.rest.ServiceCallback<List<PrebuiltDomain>> serviceCallback)
Gets all the available custom prebuilt domains for all cultures.- Parameters:
serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAvailableCustomPrebuiltDomainsAsync
public rx.Observable<List<PrebuiltDomain>> listAvailableCustomPrebuiltDomainsAsync()
Gets all the available custom prebuilt domains for all cultures.- Specified by:
listAvailableCustomPrebuiltDomainsAsync
in interfaceApps
- Returns:
- the observable to the List<PrebuiltDomain> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAvailableCustomPrebuiltDomainsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<List<PrebuiltDomain>>> listAvailableCustomPrebuiltDomainsWithServiceResponseAsync()
Gets all the available custom prebuilt domains for all cultures.- Returns:
- the observable to the List<PrebuiltDomain> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addCustomPrebuiltDomain
public UUID addCustomPrebuiltDomain(PrebuiltDomainCreateObject prebuiltDomainCreateObject)
Adds a prebuilt domain along with its intent and entity models as a new application.- Specified by:
addCustomPrebuiltDomain
in interfaceApps
- Parameters:
prebuiltDomainCreateObject
- A prebuilt domain create object containing the name and culture of the domain.- Returns:
- the UUID object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
addCustomPrebuiltDomainAsync
public com.microsoft.rest.ServiceFuture<UUID> addCustomPrebuiltDomainAsync(PrebuiltDomainCreateObject prebuiltDomainCreateObject, com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
Adds a prebuilt domain along with its intent and entity models as a new application.- Parameters:
prebuiltDomainCreateObject
- A prebuilt domain create object containing the name and culture of the domain.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addCustomPrebuiltDomainAsync
public rx.Observable<UUID> addCustomPrebuiltDomainAsync(PrebuiltDomainCreateObject prebuiltDomainCreateObject)
Adds a prebuilt domain along with its intent and entity models as a new application.- Specified by:
addCustomPrebuiltDomainAsync
in interfaceApps
- Parameters:
prebuiltDomainCreateObject
- A prebuilt domain create object containing the name and culture of the domain.- Returns:
- the observable to the UUID object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addCustomPrebuiltDomainWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> addCustomPrebuiltDomainWithServiceResponseAsync(PrebuiltDomainCreateObject prebuiltDomainCreateObject)
Adds a prebuilt domain along with its intent and entity models as a new application.- Parameters:
prebuiltDomainCreateObject
- A prebuilt domain create object containing the name and culture of the domain.- Returns:
- the observable to the UUID object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAvailableCustomPrebuiltDomainsForCulture
public List<PrebuiltDomain> listAvailableCustomPrebuiltDomainsForCulture(String culture)
Gets all the available prebuilt domains for a specific culture.- Specified by:
listAvailableCustomPrebuiltDomainsForCulture
in interfaceApps
- Parameters:
culture
- Culture.- Returns:
- the List<PrebuiltDomain> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listAvailableCustomPrebuiltDomainsForCultureAsync
public com.microsoft.rest.ServiceFuture<List<PrebuiltDomain>> listAvailableCustomPrebuiltDomainsForCultureAsync(String culture, com.microsoft.rest.ServiceCallback<List<PrebuiltDomain>> serviceCallback)
Gets all the available prebuilt domains for a specific culture.- Parameters:
culture
- Culture.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAvailableCustomPrebuiltDomainsForCultureAsync
public rx.Observable<List<PrebuiltDomain>> listAvailableCustomPrebuiltDomainsForCultureAsync(String culture)
Gets all the available prebuilt domains for a specific culture.- Specified by:
listAvailableCustomPrebuiltDomainsForCultureAsync
in interfaceApps
- Parameters:
culture
- Culture.- Returns:
- the observable to the List<PrebuiltDomain> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAvailableCustomPrebuiltDomainsForCultureWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<List<PrebuiltDomain>>> listAvailableCustomPrebuiltDomainsForCultureWithServiceResponseAsync(String culture)
Gets all the available prebuilt domains for a specific culture.- Parameters:
culture
- Culture.- Returns:
- the observable to the List<PrebuiltDomain> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
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.- Specified by:
packagePublishedApplicationAsGzip
in interfaceApps
- Parameters:
appId
- The application ID.slotName
- The publishing slot name.- Returns:
- the InputStream object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
packagePublishedApplicationAsGzipAsync
public com.microsoft.rest.ServiceFuture<InputStream> packagePublishedApplicationAsGzipAsync(UUID appId, String slotName, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
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:
appId
- The application ID.slotName
- The publishing slot name.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
packagePublishedApplicationAsGzipAsync
public rx.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.- Specified by:
packagePublishedApplicationAsGzipAsync
in interfaceApps
- Parameters:
appId
- The application ID.slotName
- The publishing slot name.- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
packagePublishedApplicationAsGzipWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<InputStream>> packagePublishedApplicationAsGzipWithServiceResponseAsync(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:
appId
- The application ID.slotName
- The publishing slot name.- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
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.- Specified by:
packageTrainedApplicationAsGzip
in interfaceApps
- Parameters:
appId
- The application ID.versionId
- The version ID.- Returns:
- the InputStream object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
packageTrainedApplicationAsGzipAsync
public com.microsoft.rest.ServiceFuture<InputStream> packageTrainedApplicationAsGzipAsync(UUID appId, String versionId, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
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:
appId
- The application ID.versionId
- The version ID.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
packageTrainedApplicationAsGzipAsync
public rx.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.- Specified by:
packageTrainedApplicationAsGzipAsync
in interfaceApps
- Parameters:
appId
- The application ID.versionId
- The version ID.- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
packageTrainedApplicationAsGzipWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<InputStream>> packageTrainedApplicationAsGzipWithServiceResponseAsync(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:
appId
- The application ID.versionId
- The version ID.- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importV2App
public UUID importV2App(LuisAppV2 luisAppV2, ImportV2AppAppsOptionalParameter importV2AppOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.- Specified by:
importV2App
in interfaceApps
- Parameters:
luisAppV2
- A LUIS application structure.importV2AppOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the UUID object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
importV2AppAsync
public com.microsoft.rest.ServiceFuture<UUID> importV2AppAsync(LuisAppV2 luisAppV2, ImportV2AppAppsOptionalParameter importV2AppOptionalParameter, com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
Imports an application to LUIS, the application's structure is included in the request body.- Parameters:
luisAppV2
- A LUIS application structure.importV2AppOptionalParameter
- the object representing the optional parameters to be set before calling this APIserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importV2AppAsync
public rx.Observable<UUID> importV2AppAsync(LuisAppV2 luisAppV2, ImportV2AppAppsOptionalParameter importV2AppOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.- Specified by:
importV2AppAsync
in interfaceApps
- Parameters:
luisAppV2
- A LUIS application structure.importV2AppOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the UUID object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importV2AppWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> importV2AppWithServiceResponseAsync(LuisAppV2 luisAppV2, ImportV2AppAppsOptionalParameter importV2AppOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.- Parameters:
luisAppV2
- A LUIS application structure.importV2AppOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the UUID object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importV2AppWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> importV2AppWithServiceResponseAsync(LuisAppV2 luisAppV2, String appName)
Imports an application to LUIS, the application's structure is included in the request body.- Parameters:
luisAppV2
- A LUIS application structure.appName
- The application name to create. If not specified, the application name will be read from the imported object. If the application name already exists, an error is returned.- Returns:
- the observable to the UUID object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importV2App
public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsImportV2AppParameters importV2App()
Description copied from interface:Apps
Imports an application to LUIS, the application's structure is included in the request body.- Specified by:
importV2App
in interfaceApps
- Returns:
- the first stage of the importV2App call
-
importLuFormat
public UUID importLuFormat(String luisAppLu, ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.- Specified by:
importLuFormat
in interfaceApps
- Parameters:
luisAppLu
- A LUIS application structure.importLuFormatOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the UUID object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
importLuFormatAsync
public com.microsoft.rest.ServiceFuture<UUID> importLuFormatAsync(String luisAppLu, ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter, com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
Imports an application to LUIS, the application's structure is included in the request body.- Parameters:
luisAppLu
- A LUIS application structure.importLuFormatOptionalParameter
- the object representing the optional parameters to be set before calling this APIserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importLuFormatAsync
public rx.Observable<UUID> importLuFormatAsync(String luisAppLu, ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.- Specified by:
importLuFormatAsync
in interfaceApps
- Parameters:
luisAppLu
- A LUIS application structure.importLuFormatOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the UUID object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importLuFormatWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> importLuFormatWithServiceResponseAsync(String luisAppLu, ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter)
Imports an application to LUIS, the application's structure is included in the request body.- Parameters:
luisAppLu
- A LUIS application structure.importLuFormatOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the UUID object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importLuFormatWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> importLuFormatWithServiceResponseAsync(String luisAppLu, String appName)
Imports an application to LUIS, the application's structure is included in the request body.- Parameters:
luisAppLu
- A LUIS application structure.appName
- The application name to create. If not specified, the application name will be read from the imported object. If the application name already exists, an error is returned.- Returns:
- the observable to the UUID object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importLuFormat
public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsImportLuFormatParameters importLuFormat()
Description copied from interface:Apps
Imports an application to LUIS, the application's structure is included in the request body.- Specified by:
importLuFormat
in interfaceApps
- Returns:
- the first stage of the importLuFormat call
-
-