Apps class

Class representing a Apps.

Constructors

Apps(LUISAuthoringClientContext)

Create a Apps.

Methods

add(ApplicationCreateObject, msRest.RequestOptionsBase)

Creates a new LUIS app.

add(ApplicationCreateObject, RequestOptionsBase, ServiceCallback<string>)
add(ApplicationCreateObject, ServiceCallback<string>)
addCustomPrebuiltDomain(PrebuiltDomainCreateObject, msRest.RequestOptionsBase)

Adds a prebuilt domain along with its intent and entity models as a new application.

addCustomPrebuiltDomain(PrebuiltDomainCreateObject, RequestOptionsBase, ServiceCallback<string>)
addCustomPrebuiltDomain(PrebuiltDomainCreateObject, ServiceCallback<string>)
deleteMethod(string, AppsDeleteMethodOptionalParams, ServiceCallback<OperationStatus>)
deleteMethod(string, Models.AppsDeleteMethodOptionalParams)

Deletes an application.

deleteMethod(string, ServiceCallback<OperationStatus>)
downloadQueryLogs(string, msRest.RequestOptionsBase)

Gets the logs of the past month's endpoint queries for the application.

downloadQueryLogs(string, RequestOptionsBase, ServiceCallback<void>)
downloadQueryLogs(string, ServiceCallback<void>)
get(string, msRest.RequestOptionsBase)

Gets the application info.

get(string, RequestOptionsBase, ServiceCallback<ApplicationInfoResponse>)
get(string, ServiceCallback<ApplicationInfoResponse>)
getPublishSettings(string, msRest.RequestOptionsBase)

Get the application publish settings including 'UseAllTrainingData'.

getPublishSettings(string, RequestOptionsBase, ServiceCallback<PublishSettings>)
getPublishSettings(string, ServiceCallback<PublishSettings>)
getSettings(string, msRest.RequestOptionsBase)

Get the application settings including 'UseAllTrainingData'.

getSettings(string, RequestOptionsBase, ServiceCallback<ApplicationSettings>)
getSettings(string, ServiceCallback<ApplicationSettings>)
importLuFormat(string, AppsImportLuFormatOptionalParams, ServiceCallback<string>)
importLuFormat(string, Models.AppsImportLuFormatOptionalParams)

Imports an application to LUIS, the application's structure is included in the request body.

importLuFormat(string, ServiceCallback<string>)
importMethod(LuisApp, AppsImportMethodOptionalParams, ServiceCallback<string>)
importMethod(LuisApp, Models.AppsImportMethodOptionalParams)

Imports an application to LUIS, the application's structure is included in the request body.

importMethod(LuisApp, ServiceCallback<string>)
importV2App(LuisAppV2, AppsImportV2AppOptionalParams, ServiceCallback<string>)
importV2App(LuisAppV2, Models.AppsImportV2AppOptionalParams)

Imports an application to LUIS, the application's structure is included in the request body.

importV2App(LuisAppV2, ServiceCallback<string>)
list(AppsListOptionalParams, ServiceCallback<ApplicationInfoResponse[]>)
list(Models.AppsListOptionalParams)

Lists all of the user's applications.

list(ServiceCallback<ApplicationInfoResponse[]>)
listAvailableCustomPrebuiltDomains(msRest.RequestOptionsBase)

Gets all the available custom prebuilt domains for all cultures.

listAvailableCustomPrebuiltDomains(RequestOptionsBase, ServiceCallback<PrebuiltDomain[]>)
listAvailableCustomPrebuiltDomains(ServiceCallback<PrebuiltDomain[]>)
listAvailableCustomPrebuiltDomainsForCulture(string, msRest.RequestOptionsBase)

Gets all the available prebuilt domains for a specific culture.

listAvailableCustomPrebuiltDomainsForCulture(string, RequestOptionsBase, ServiceCallback<PrebuiltDomain[]>)
listAvailableCustomPrebuiltDomainsForCulture(string, ServiceCallback<PrebuiltDomain[]>)
listCortanaEndpoints(msRest.RequestOptionsBase)

Gets the endpoint URLs for the prebuilt Cortana applications.

listCortanaEndpoints(RequestOptionsBase, ServiceCallback<PersonalAssistantsResponse>)
listCortanaEndpoints(ServiceCallback<PersonalAssistantsResponse>)
listDomains(msRest.RequestOptionsBase)

Gets the available application domains.

listDomains(RequestOptionsBase, ServiceCallback<string[]>)
listDomains(ServiceCallback<string[]>)
listEndpoints(string, msRest.RequestOptionsBase)

Returns the available endpoint deployment regions and URLs.

listEndpoints(string, RequestOptionsBase, ServiceCallback<[key: string]: string>)
listEndpoints(string, ServiceCallback<[key: string]: string>)
listSupportedCultures(msRest.RequestOptionsBase)

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.

listSupportedCultures(RequestOptionsBase, ServiceCallback<AvailableCulture[]>)
listSupportedCultures(ServiceCallback<AvailableCulture[]>)
listUsageScenarios(msRest.RequestOptionsBase)

Gets the application available usage scenarios.

listUsageScenarios(RequestOptionsBase, ServiceCallback<string[]>)
listUsageScenarios(ServiceCallback<string[]>)
packagePublishedApplicationAsGzip(string, string, msRest.RequestOptionsBase)

Packages a published LUIS application as a GZip file to be used in the LUIS container.

packagePublishedApplicationAsGzip(string, string, RequestOptionsBase, ServiceCallback<void>)
packagePublishedApplicationAsGzip(string, string, ServiceCallback<void>)
packageTrainedApplicationAsGzip(string, string, msRest.RequestOptionsBase)

Packages trained LUIS application as GZip file to be used in the LUIS container.

packageTrainedApplicationAsGzip(string, string, RequestOptionsBase, ServiceCallback<void>)
packageTrainedApplicationAsGzip(string, string, ServiceCallback<void>)
publish(string, ApplicationPublishObject, msRest.RequestOptionsBase)

Publishes a specific version of the application.

publish(string, ApplicationPublishObject, RequestOptionsBase, ServiceCallback<ProductionOrStagingEndpointInfo>)
publish(string, ApplicationPublishObject, ServiceCallback<ProductionOrStagingEndpointInfo>)
update(string, ApplicationUpdateObject, msRest.RequestOptionsBase)

Updates the name or description of the application.

update(string, ApplicationUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
update(string, ApplicationUpdateObject, ServiceCallback<OperationStatus>)
updatePublishSettings(string, PublishSettingUpdateObject, msRest.RequestOptionsBase)

Updates the application publish settings including 'UseAllTrainingData'.

updatePublishSettings(string, PublishSettingUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updatePublishSettings(string, PublishSettingUpdateObject, ServiceCallback<OperationStatus>)
updateSettings(string, ApplicationSettingUpdateObject, msRest.RequestOptionsBase)

Updates the application settings including 'UseAllTrainingData'.

updateSettings(string, ApplicationSettingUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateSettings(string, ApplicationSettingUpdateObject, ServiceCallback<OperationStatus>)

Constructor Details

Apps(LUISAuthoringClientContext)

Create a Apps.

new Apps(client: LUISAuthoringClientContext)

Parameters

client
LUISAuthoringClientContext

Reference to the service client.

Method Details

add(ApplicationCreateObject, msRest.RequestOptionsBase)

Creates a new LUIS app.

function add(applicationCreateObject: ApplicationCreateObject, options?: msRest.RequestOptionsBase): Promise<Models.AppsAddResponse>

Parameters

applicationCreateObject
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.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsAddResponse>

Promise<Models.AppsAddResponse>

add(ApplicationCreateObject, RequestOptionsBase, ServiceCallback<string>)

function add(applicationCreateObject: ApplicationCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

applicationCreateObject
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.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

add(ApplicationCreateObject, ServiceCallback<string>)

function add(applicationCreateObject: ApplicationCreateObject, callback: ServiceCallback<string>)

Parameters

applicationCreateObject
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.

callback

ServiceCallback<string>

The callback

addCustomPrebuiltDomain(PrebuiltDomainCreateObject, msRest.RequestOptionsBase)

Adds a prebuilt domain along with its intent and entity models as a new application.

function addCustomPrebuiltDomain(prebuiltDomainCreateObject: PrebuiltDomainCreateObject, options?: msRest.RequestOptionsBase): Promise<Models.AppsAddCustomPrebuiltDomainResponse>

Parameters

prebuiltDomainCreateObject
PrebuiltDomainCreateObject

A prebuilt domain create object containing the name and culture of the domain.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsAddCustomPrebuiltDomainResponse>

Promise<Models.AppsAddCustomPrebuiltDomainResponse>

addCustomPrebuiltDomain(PrebuiltDomainCreateObject, RequestOptionsBase, ServiceCallback<string>)

function addCustomPrebuiltDomain(prebuiltDomainCreateObject: PrebuiltDomainCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

prebuiltDomainCreateObject
PrebuiltDomainCreateObject

A prebuilt domain create object containing the name and culture of the domain.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

addCustomPrebuiltDomain(PrebuiltDomainCreateObject, ServiceCallback<string>)

function addCustomPrebuiltDomain(prebuiltDomainCreateObject: PrebuiltDomainCreateObject, callback: ServiceCallback<string>)

Parameters

prebuiltDomainCreateObject
PrebuiltDomainCreateObject

A prebuilt domain create object containing the name and culture of the domain.

callback

ServiceCallback<string>

The callback

deleteMethod(string, AppsDeleteMethodOptionalParams, ServiceCallback<OperationStatus>)

function deleteMethod(appId: string, options: AppsDeleteMethodOptionalParams, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

options
AppsDeleteMethodOptionalParams

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteMethod(string, Models.AppsDeleteMethodOptionalParams)

Deletes an application.

function deleteMethod(appId: string, options?: Models.AppsDeleteMethodOptionalParams): Promise<Models.AppsDeleteMethodResponse>

Parameters

appId

string

The application ID.

options
Models.AppsDeleteMethodOptionalParams

Returns

Promise<Models.AppsDeleteMethodResponse>

Promise<Models.AppsDeleteMethodResponse>

deleteMethod(string, ServiceCallback<OperationStatus>)

function deleteMethod(appId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

callback

ServiceCallback<OperationStatus>

The callback

downloadQueryLogs(string, msRest.RequestOptionsBase)

Gets the logs of the past month's endpoint queries for the application.

function downloadQueryLogs(appId: string, options?: msRest.RequestOptionsBase): Promise<Models.AppsDownloadQueryLogsResponse>

Parameters

appId

string

The application ID.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsDownloadQueryLogsResponse>

Promise<Models.AppsDownloadQueryLogsResponse>

downloadQueryLogs(string, RequestOptionsBase, ServiceCallback<void>)

function downloadQueryLogs(appId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

appId

string

The application ID.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

downloadQueryLogs(string, ServiceCallback<void>)

function downloadQueryLogs(appId: string, callback: ServiceCallback<void>)

Parameters

appId

string

The application ID.

callback

ServiceCallback<void>

The callback

get(string, msRest.RequestOptionsBase)

Gets the application info.

function get(appId: string, options?: msRest.RequestOptionsBase): Promise<Models.AppsGetResponse>

Parameters

appId

string

The application ID.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsGetResponse>

Promise<Models.AppsGetResponse>

get(string, RequestOptionsBase, ServiceCallback<ApplicationInfoResponse>)

function get(appId: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInfoResponse>)

Parameters

appId

string

The application ID.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<ApplicationInfoResponse>

The callback

get(string, ServiceCallback<ApplicationInfoResponse>)

function get(appId: string, callback: ServiceCallback<ApplicationInfoResponse>)

Parameters

appId

string

The application ID.

callback

ServiceCallback<ApplicationInfoResponse>

The callback

getPublishSettings(string, msRest.RequestOptionsBase)

Get the application publish settings including 'UseAllTrainingData'.

function getPublishSettings(appId: string, options?: msRest.RequestOptionsBase): Promise<Models.AppsGetPublishSettingsResponse>

Parameters

appId

string

The application ID.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsGetPublishSettingsResponse>

Promise<Models.AppsGetPublishSettingsResponse>

getPublishSettings(string, RequestOptionsBase, ServiceCallback<PublishSettings>)

function getPublishSettings(appId: string, options: RequestOptionsBase, callback: ServiceCallback<PublishSettings>)

Parameters

appId

string

The application ID.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<PublishSettings>

The callback

getPublishSettings(string, ServiceCallback<PublishSettings>)

function getPublishSettings(appId: string, callback: ServiceCallback<PublishSettings>)

Parameters

appId

string

The application ID.

callback

ServiceCallback<PublishSettings>

The callback

getSettings(string, msRest.RequestOptionsBase)

Get the application settings including 'UseAllTrainingData'.

function getSettings(appId: string, options?: msRest.RequestOptionsBase): Promise<Models.AppsGetSettingsResponse>

Parameters

appId

string

The application ID.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsGetSettingsResponse>

Promise<Models.AppsGetSettingsResponse>

getSettings(string, RequestOptionsBase, ServiceCallback<ApplicationSettings>)

function getSettings(appId: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationSettings>)

Parameters

appId

string

The application ID.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<ApplicationSettings>

The callback

getSettings(string, ServiceCallback<ApplicationSettings>)

function getSettings(appId: string, callback: ServiceCallback<ApplicationSettings>)

Parameters

appId

string

The application ID.

callback

ServiceCallback<ApplicationSettings>

The callback

importLuFormat(string, AppsImportLuFormatOptionalParams, ServiceCallback<string>)

function importLuFormat(luisAppLu: string, options: AppsImportLuFormatOptionalParams, callback: ServiceCallback<string>)

Parameters

luisAppLu

string

A LUIS application structure.

options
AppsImportLuFormatOptionalParams

The optional parameters

callback

ServiceCallback<string>

The callback

importLuFormat(string, Models.AppsImportLuFormatOptionalParams)

Imports an application to LUIS, the application's structure is included in the request body.

function importLuFormat(luisAppLu: string, options?: Models.AppsImportLuFormatOptionalParams): Promise<Models.AppsImportLuFormatResponse>

Parameters

luisAppLu

string

A LUIS application structure.

options
Models.AppsImportLuFormatOptionalParams

Returns

Promise<Models.AppsImportLuFormatResponse>

Promise<Models.AppsImportLuFormatResponse>

importLuFormat(string, ServiceCallback<string>)

function importLuFormat(luisAppLu: string, callback: ServiceCallback<string>)

Parameters

luisAppLu

string

A LUIS application structure.

callback

ServiceCallback<string>

The callback

importMethod(LuisApp, AppsImportMethodOptionalParams, ServiceCallback<string>)

function importMethod(luisApp: LuisApp, options: AppsImportMethodOptionalParams, callback: ServiceCallback<string>)

Parameters

luisApp
LuisApp

A LUIS application structure.

options
AppsImportMethodOptionalParams

The optional parameters

callback

ServiceCallback<string>

The callback

importMethod(LuisApp, Models.AppsImportMethodOptionalParams)

Imports an application to LUIS, the application's structure is included in the request body.

function importMethod(luisApp: LuisApp, options?: Models.AppsImportMethodOptionalParams): Promise<Models.AppsImportMethodResponse>

Parameters

luisApp
LuisApp

A LUIS application structure.

options
Models.AppsImportMethodOptionalParams

Returns

Promise<Models.AppsImportMethodResponse>

Promise<Models.AppsImportMethodResponse>

importMethod(LuisApp, ServiceCallback<string>)

function importMethod(luisApp: LuisApp, callback: ServiceCallback<string>)

Parameters

luisApp
LuisApp

A LUIS application structure.

callback

ServiceCallback<string>

The callback

importV2App(LuisAppV2, AppsImportV2AppOptionalParams, ServiceCallback<string>)

function importV2App(luisAppV2: LuisAppV2, options: AppsImportV2AppOptionalParams, callback: ServiceCallback<string>)

Parameters

luisAppV2
LuisAppV2

A LUIS application structure.

options
AppsImportV2AppOptionalParams

The optional parameters

callback

ServiceCallback<string>

The callback

importV2App(LuisAppV2, Models.AppsImportV2AppOptionalParams)

Imports an application to LUIS, the application's structure is included in the request body.

function importV2App(luisAppV2: LuisAppV2, options?: Models.AppsImportV2AppOptionalParams): Promise<Models.AppsImportV2AppResponse>

Parameters

luisAppV2
LuisAppV2

A LUIS application structure.

options
Models.AppsImportV2AppOptionalParams

Returns

Promise<Models.AppsImportV2AppResponse>

Promise<Models.AppsImportV2AppResponse>

importV2App(LuisAppV2, ServiceCallback<string>)

function importV2App(luisAppV2: LuisAppV2, callback: ServiceCallback<string>)

Parameters

luisAppV2
LuisAppV2

A LUIS application structure.

callback

ServiceCallback<string>

The callback

list(AppsListOptionalParams, ServiceCallback<ApplicationInfoResponse[]>)

function list(options: AppsListOptionalParams, callback: ServiceCallback<ApplicationInfoResponse[]>)

Parameters

options
AppsListOptionalParams

The optional parameters

callback

ServiceCallback<ApplicationInfoResponse[]>

The callback

list(Models.AppsListOptionalParams)

Lists all of the user's applications.

function list(options?: Models.AppsListOptionalParams): Promise<Models.AppsListResponse>

Parameters

options
Models.AppsListOptionalParams

Returns

Promise<Models.AppsListResponse>

Promise<Models.AppsListResponse>

list(ServiceCallback<ApplicationInfoResponse[]>)

function list(callback: ServiceCallback<ApplicationInfoResponse[]>)

Parameters

callback

ServiceCallback<ApplicationInfoResponse[]>

The callback

listAvailableCustomPrebuiltDomains(msRest.RequestOptionsBase)

Gets all the available custom prebuilt domains for all cultures.

function listAvailableCustomPrebuiltDomains(options?: msRest.RequestOptionsBase): Promise<Models.AppsListAvailableCustomPrebuiltDomainsResponse>

Parameters

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsListAvailableCustomPrebuiltDomainsResponse>

Promise<Models.AppsListAvailableCustomPrebuiltDomainsResponse>

listAvailableCustomPrebuiltDomains(RequestOptionsBase, ServiceCallback<PrebuiltDomain[]>)

function listAvailableCustomPrebuiltDomains(options: RequestOptionsBase, callback: ServiceCallback<PrebuiltDomain[]>)

Parameters

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<PrebuiltDomain[]>

The callback

listAvailableCustomPrebuiltDomains(ServiceCallback<PrebuiltDomain[]>)

function listAvailableCustomPrebuiltDomains(callback: ServiceCallback<PrebuiltDomain[]>)

Parameters

callback

ServiceCallback<PrebuiltDomain[]>

The callback

listAvailableCustomPrebuiltDomainsForCulture(string, msRest.RequestOptionsBase)

Gets all the available prebuilt domains for a specific culture.

function listAvailableCustomPrebuiltDomainsForCulture(culture: string, options?: msRest.RequestOptionsBase): Promise<Models.AppsListAvailableCustomPrebuiltDomainsForCultureResponse>

Parameters

culture

string

Culture.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsListAvailableCustomPrebuiltDomainsForCultureResponse>

Promise<Models.AppsListAvailableCustomPrebuiltDomainsForCultureResponse>

listAvailableCustomPrebuiltDomainsForCulture(string, RequestOptionsBase, ServiceCallback<PrebuiltDomain[]>)

function listAvailableCustomPrebuiltDomainsForCulture(culture: string, options: RequestOptionsBase, callback: ServiceCallback<PrebuiltDomain[]>)

Parameters

culture

string

Culture.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<PrebuiltDomain[]>

The callback

listAvailableCustomPrebuiltDomainsForCulture(string, ServiceCallback<PrebuiltDomain[]>)

function listAvailableCustomPrebuiltDomainsForCulture(culture: string, callback: ServiceCallback<PrebuiltDomain[]>)

Parameters

culture

string

Culture.

callback

ServiceCallback<PrebuiltDomain[]>

The callback

listCortanaEndpoints(msRest.RequestOptionsBase)

Gets the endpoint URLs for the prebuilt Cortana applications.

function listCortanaEndpoints(options?: msRest.RequestOptionsBase): Promise<Models.AppsListCortanaEndpointsResponse>

Parameters

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsListCortanaEndpointsResponse>

Promise<Models.AppsListCortanaEndpointsResponse>

listCortanaEndpoints(RequestOptionsBase, ServiceCallback<PersonalAssistantsResponse>)

function listCortanaEndpoints(options: RequestOptionsBase, callback: ServiceCallback<PersonalAssistantsResponse>)

Parameters

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<PersonalAssistantsResponse>

The callback

listCortanaEndpoints(ServiceCallback<PersonalAssistantsResponse>)

function listCortanaEndpoints(callback: ServiceCallback<PersonalAssistantsResponse>)

Parameters

callback

ServiceCallback<PersonalAssistantsResponse>

The callback

listDomains(msRest.RequestOptionsBase)

Gets the available application domains.

function listDomains(options?: msRest.RequestOptionsBase): Promise<Models.AppsListDomainsResponse>

Parameters

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsListDomainsResponse>

Promise<Models.AppsListDomainsResponse>

listDomains(RequestOptionsBase, ServiceCallback<string[]>)

function listDomains(options: RequestOptionsBase, callback: ServiceCallback<string[]>)

Parameters

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<string[]>

The callback

listDomains(ServiceCallback<string[]>)

function listDomains(callback: ServiceCallback<string[]>)

Parameters

callback

ServiceCallback<string[]>

The callback

listEndpoints(string, msRest.RequestOptionsBase)

Returns the available endpoint deployment regions and URLs.

function listEndpoints(appId: string, options?: msRest.RequestOptionsBase): Promise<Models.AppsListEndpointsResponse>

Parameters

appId

string

The application ID.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsListEndpointsResponse>

Promise<Models.AppsListEndpointsResponse>

listEndpoints(string, RequestOptionsBase, ServiceCallback<[key: string]: string>)

function listEndpoints(appId: string, options: RequestOptionsBase, callback: ServiceCallback<[key: string]: string>)

Parameters

appId

string

The application ID.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<[key: string]: string>

The callback

listEndpoints(string, ServiceCallback<[key: string]: string>)

function listEndpoints(appId: string, callback: ServiceCallback<[key: string]: string>)

Parameters

appId

string

The application ID.

callback

ServiceCallback<[key: string]: string>

The callback

listSupportedCultures(msRest.RequestOptionsBase)

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.

function listSupportedCultures(options?: msRest.RequestOptionsBase): Promise<Models.AppsListSupportedCulturesResponse>

Parameters

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsListSupportedCulturesResponse>

Promise<Models.AppsListSupportedCulturesResponse>

listSupportedCultures(RequestOptionsBase, ServiceCallback<AvailableCulture[]>)

function listSupportedCultures(options: RequestOptionsBase, callback: ServiceCallback<AvailableCulture[]>)

Parameters

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<AvailableCulture[]>

The callback

listSupportedCultures(ServiceCallback<AvailableCulture[]>)

function listSupportedCultures(callback: ServiceCallback<AvailableCulture[]>)

Parameters

callback

ServiceCallback<AvailableCulture[]>

The callback

listUsageScenarios(msRest.RequestOptionsBase)

Gets the application available usage scenarios.

function listUsageScenarios(options?: msRest.RequestOptionsBase): Promise<Models.AppsListUsageScenariosResponse>

Parameters

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsListUsageScenariosResponse>

Promise<Models.AppsListUsageScenariosResponse>

listUsageScenarios(RequestOptionsBase, ServiceCallback<string[]>)

function listUsageScenarios(options: RequestOptionsBase, callback: ServiceCallback<string[]>)

Parameters

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<string[]>

The callback

listUsageScenarios(ServiceCallback<string[]>)

function listUsageScenarios(callback: ServiceCallback<string[]>)

Parameters

callback

ServiceCallback<string[]>

The callback

packagePublishedApplicationAsGzip(string, string, msRest.RequestOptionsBase)

Packages a published LUIS application as a GZip file to be used in the LUIS container.

function packagePublishedApplicationAsGzip(appId: string, slotName: string, options?: msRest.RequestOptionsBase): Promise<Models.AppsPackagePublishedApplicationAsGzipResponse>

Parameters

appId

string

The application ID.

slotName

string

The publishing slot name.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsPackagePublishedApplicationAsGzipResponse>

Promise<Models.AppsPackagePublishedApplicationAsGzipResponse>

packagePublishedApplicationAsGzip(string, string, RequestOptionsBase, ServiceCallback<void>)

function packagePublishedApplicationAsGzip(appId: string, slotName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

appId

string

The application ID.

slotName

string

The publishing slot name.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

packagePublishedApplicationAsGzip(string, string, ServiceCallback<void>)

function packagePublishedApplicationAsGzip(appId: string, slotName: string, callback: ServiceCallback<void>)

Parameters

appId

string

The application ID.

slotName

string

The publishing slot name.

callback

ServiceCallback<void>

The callback

packageTrainedApplicationAsGzip(string, string, msRest.RequestOptionsBase)

Packages trained LUIS application as GZip file to be used in the LUIS container.

function packageTrainedApplicationAsGzip(appId: string, versionId: string, options?: msRest.RequestOptionsBase): Promise<Models.AppsPackageTrainedApplicationAsGzipResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsPackageTrainedApplicationAsGzipResponse>

Promise<Models.AppsPackageTrainedApplicationAsGzipResponse>

packageTrainedApplicationAsGzip(string, string, RequestOptionsBase, ServiceCallback<void>)

function packageTrainedApplicationAsGzip(appId: string, versionId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

packageTrainedApplicationAsGzip(string, string, ServiceCallback<void>)

function packageTrainedApplicationAsGzip(appId: string, versionId: string, callback: ServiceCallback<void>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<void>

The callback

publish(string, ApplicationPublishObject, msRest.RequestOptionsBase)

Publishes a specific version of the application.

function publish(appId: string, applicationPublishObject: ApplicationPublishObject, options?: msRest.RequestOptionsBase): Promise<Models.AppsPublishResponse>

Parameters

appId

string

The application ID.

applicationPublishObject
ApplicationPublishObject

The application publish object. The region is the target region that the application is published to.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsPublishResponse>

Promise<Models.AppsPublishResponse>

publish(string, ApplicationPublishObject, RequestOptionsBase, ServiceCallback<ProductionOrStagingEndpointInfo>)

function publish(appId: string, applicationPublishObject: ApplicationPublishObject, options: RequestOptionsBase, callback: ServiceCallback<ProductionOrStagingEndpointInfo>)

Parameters

appId

string

The application ID.

applicationPublishObject
ApplicationPublishObject

The application publish object. The region is the target region that the application is published to.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<ProductionOrStagingEndpointInfo>

The callback

publish(string, ApplicationPublishObject, ServiceCallback<ProductionOrStagingEndpointInfo>)

function publish(appId: string, applicationPublishObject: ApplicationPublishObject, callback: ServiceCallback<ProductionOrStagingEndpointInfo>)

Parameters

appId

string

The application ID.

applicationPublishObject
ApplicationPublishObject

The application publish object. The region is the target region that the application is published to.

callback

ServiceCallback<ProductionOrStagingEndpointInfo>

The callback

update(string, ApplicationUpdateObject, msRest.RequestOptionsBase)

Updates the name or description of the application.

function update(appId: string, applicationUpdateObject: ApplicationUpdateObject, options?: msRest.RequestOptionsBase): Promise<Models.AppsUpdateResponse>

Parameters

appId

string

The application ID.

applicationUpdateObject
ApplicationUpdateObject

A model containing Name and Description of the application.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsUpdateResponse>

Promise<Models.AppsUpdateResponse>

update(string, ApplicationUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function update(appId: string, applicationUpdateObject: ApplicationUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

applicationUpdateObject
ApplicationUpdateObject

A model containing Name and Description of the application.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

update(string, ApplicationUpdateObject, ServiceCallback<OperationStatus>)

function update(appId: string, applicationUpdateObject: ApplicationUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

applicationUpdateObject
ApplicationUpdateObject

A model containing Name and Description of the application.

callback

ServiceCallback<OperationStatus>

The callback

updatePublishSettings(string, PublishSettingUpdateObject, msRest.RequestOptionsBase)

Updates the application publish settings including 'UseAllTrainingData'.

function updatePublishSettings(appId: string, publishSettingUpdateObject: PublishSettingUpdateObject, options?: msRest.RequestOptionsBase): Promise<Models.AppsUpdatePublishSettingsResponse>

Parameters

appId

string

The application ID.

publishSettingUpdateObject
PublishSettingUpdateObject

An object containing the new publish application settings.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsUpdatePublishSettingsResponse>

Promise<Models.AppsUpdatePublishSettingsResponse>

updatePublishSettings(string, PublishSettingUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updatePublishSettings(appId: string, publishSettingUpdateObject: PublishSettingUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

publishSettingUpdateObject
PublishSettingUpdateObject

An object containing the new publish application settings.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updatePublishSettings(string, PublishSettingUpdateObject, ServiceCallback<OperationStatus>)

function updatePublishSettings(appId: string, publishSettingUpdateObject: PublishSettingUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

publishSettingUpdateObject
PublishSettingUpdateObject

An object containing the new publish application settings.

callback

ServiceCallback<OperationStatus>

The callback

updateSettings(string, ApplicationSettingUpdateObject, msRest.RequestOptionsBase)

Updates the application settings including 'UseAllTrainingData'.

function updateSettings(appId: string, applicationSettingUpdateObject: ApplicationSettingUpdateObject, options?: msRest.RequestOptionsBase): Promise<Models.AppsUpdateSettingsResponse>

Parameters

appId

string

The application ID.

applicationSettingUpdateObject
ApplicationSettingUpdateObject

An object containing the new application settings.

options
msRest.RequestOptionsBase

Returns

Promise<Models.AppsUpdateSettingsResponse>

Promise<Models.AppsUpdateSettingsResponse>

updateSettings(string, ApplicationSettingUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateSettings(appId: string, applicationSettingUpdateObject: ApplicationSettingUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

applicationSettingUpdateObject
ApplicationSettingUpdateObject

An object containing the new application settings.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateSettings(string, ApplicationSettingUpdateObject, ServiceCallback<OperationStatus>)

function updateSettings(appId: string, applicationSettingUpdateObject: ApplicationSettingUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

applicationSettingUpdateObject
ApplicationSettingUpdateObject

An object containing the new application settings.

callback

ServiceCallback<OperationStatus>

The callback