Devices - Get Device Class
Pobiera właściwości klasy urządzeń.
GET https://{accountEndpoint}/deviceupdate/{instanceId}/v2/management/deviceclasses/{deviceClassId}
Parametry identyfikatora URI
Name | In | Required | Type | Description |
---|---|---|---|---|
account
|
path | True |
|
Punkt końcowy konta. |
device
|
path | True |
|
Identyfikator klasy urządzeń. |
instance
|
path | True |
|
Identyfikator wystąpienia konta. |
Odpowiedzi
Name | Type | Description |
---|---|---|
200 OK |
Właściwości klasy urządzenia. |
|
404 Not Found |
Nie znaleziono. |
Zabezpieczenia
azure_auth
Azure Active Directory przepływ OAuth2
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | Personifikuj konto użytkownika |
Przykłady
Devices_GetDeviceClass
Sample Request
GET https://contoso.api.adu.microsoft.com/deviceupdate/blue/v2/management/deviceclasses/deviceClassId
Sample Response
{
"deviceClassId": "deviceClassId",
"manufacturer": "manufacturer",
"model": "model",
"bestCompatibleUpdateId": {
"provider": "provider",
"name": "name",
"version": "1.0.0.0"
}
}
Definicje
Device |
Metadane klasy urządzeń. |
Update |
Identyfikator aktualizacji. |
DeviceClass
Metadane klasy urządzeń.
Name | Type | Description |
---|---|---|
bestCompatibleUpdateId |
Aktualizowanie tożsamości. |
|
deviceClassId |
|
Identyfikator klasy urządzenia. |
manufacturer |
|
Producent urządzenia |
model |
|
Model urządzenia. |
UpdateId
Identyfikator aktualizacji.
Name | Type | Description |
---|---|---|
name |
|
Nazwa aktualizacji. |
provider |
|
Zaktualizuj dostawcę. |
version |
|
Aktualizuj wersję. |