Apps - Get
Get the metadata of an IoT Central application.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}?api-version=2021-06-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
The name of the resource group that contains the IoT Central application. |
resource
|
path | True |
string |
The ARM resource name of the IoT Central application. |
subscription
|
path | True |
string |
The subscription identifier. |
api-version
|
query | True |
string |
The version of the API. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The body contains all the non-security properties of the IoT Central application. Security-related properties are set to null. |
|
Other Status Codes |
Default error response |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Apps_Get
Sample request
Sample response
code: 200
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/iotApps/myIoTCentralApp",
"location": "westus",
"type": "Microsoft.IoTCentral/IoTApps",
"name": "myIoTCentralApp",
"tags": {
"key": "value"
},
"properties": {
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6",
"displayName": "My IoT Central App",
"subdomain": "my-iot-central-app",
"template": "iotc-pnp-preview@1.0.0",
"state": "created"
},
"sku": {
"name": "F1"
},
"identity": {
"type": "SystemAssigned",
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
"principalId": "8988ab15-3e7a-4586-8a1c-ed07a73a53e9"
}
}
{
"error": {
"code": "Error code",
"message": "Error message",
"target": "Error target"
}
}
Definitions
Name | Description |
---|---|
App |
The IoT Central application. |
App |
The name of the SKU. |
App |
Information about the SKU of the IoT Central application. |
App |
The current state of the application. |
Cloud |
Error details. |
Cloud |
Details of error response. |
System |
Managed service identity (either system assigned, or none) |
System |
Type of managed service identity (either system assigned, or none). |
App
The IoT Central application.
Name | Type | Description |
---|---|---|
id |
string |
The ARM resource identifier. |
identity |
The managed identities for the IoT Central application. |
|
location |
string |
The resource location. |
name |
string |
The ARM resource name. |
properties.applicationId |
string |
The ID of the application. |
properties.displayName |
string |
The display name of the application. |
properties.state |
The current state of the application. |
|
properties.subdomain |
string |
The subdomain of the application. |
properties.template |
string |
The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch. |
sku |
A valid instance SKU. |
|
tags |
object |
The resource tags. |
type |
string |
The resource type. |
AppSku
The name of the SKU.
Name | Type | Description |
---|---|---|
ST0 |
string |
|
ST1 |
string |
|
ST2 |
string |
AppSkuInfo
Information about the SKU of the IoT Central application.
Name | Type | Description |
---|---|---|
name |
The name of the SKU. |
AppState
The current state of the application.
Name | Type | Description |
---|---|---|
created |
string |
|
suspended |
string |
CloudError
Error details.
Name | Type | Description |
---|---|---|
error.code |
string |
The error code. |
error.details |
A list of additional details about the error. |
|
error.message |
string |
The error message. |
error.target |
string |
The target of the particular error. |
CloudErrorBody
Details of error response.
Name | Type | Description |
---|---|---|
code |
string |
The error code. |
details |
A list of additional details about the error. |
|
message |
string |
The error message. |
target |
string |
The target of the particular error. |
SystemAssignedServiceIdentity
Managed service identity (either system assigned, or none)
Name | Type | Description |
---|---|---|
principalId |
string |
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. |
tenantId |
string |
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. |
type |
Type of managed service identity (either system assigned, or none). |
SystemAssignedServiceIdentityType
Type of managed service identity (either system assigned, or none).
Name | Type | Description |
---|---|---|
None |
string |
|
SystemAssigned |
string |