你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Azure Accounts - Get Assigned
apps - Get LUIS Azure accounts assigned to the application
Gets the LUIS Azure accounts assigned to the application for the user using his ARM token.
GET {Endpoint}/luis/api/v2.0/apps/{appId}/azureaccounts
Name | In | Required | Type | Description |
---|---|---|---|---|
app
|
path | True |
string uuid |
The application ID. |
Endpoint
|
path | True |
string |
Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com). |
Name | Required | Type | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
|
Authorization | True |
string |
The bearer authorization header to use; containing the user's ARM token used to validate Azure accounts information. |
Name | Type | Description |
---|---|---|
200 OK |
A list of azure account information objects. |
|
Other Status Codes |
Error Response. |
Type:
apiKey
In:
header
Sample request
GET {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/azureaccounts
Sample response
[
{
"azureSubscriptionId": "{azure_subscription_id}",
"resourceGroup": "{resource_group_name}",
"accountName": "{account_name}"
}
]
Name | Description |
---|---|
Azure |
Defines the Azure account information object. |
Error |
Error response when invoking an operation on the API. |
Defines the Azure account information object.
Name | Type | Description |
---|---|---|
accountName |
string |
The Azure account name. |
azureSubscriptionId |
string |
The id for the Azure subscription. |
resourceGroup |
string |
The Azure resource group name. |
Error response when invoking an operation on the API.
Name | Type | Description |
---|---|---|
errorType |
string |