Configuration - Test Queries
IoT Hub bir yapılandırma için hedef koşulu ve özel ölçüm sorgularını doğrular.
POST https://fully-qualified-iothubname.azure-devices.net/configurations/testQueries?api-version=2021-04-12
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
api-version
|
query | True |
string |
Api sürümü. |
İstek Gövdesi
Name | Tür | Description |
---|---|---|
customMetricQueries |
object |
Anahtar-değer, sorgular ve bunların tanımlayıcısıyla eşler. |
targetCondition |
string |
Hedeflenen cihazları veya modülleri tanımlamak için kullanılan sorgu. Sorgu, ikiz etiketlerini ve/veya bildirilen özellikleri temel alır. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Tamam ögesini seçin. |
Tanımlar
Name | Description |
---|---|
Configuration |
|
Configuration |
ConfigurationQueriesTestInput
Name | Tür | Description |
---|---|---|
customMetricQueries |
object |
Anahtar-değer, sorgular ve bunların tanımlayıcısıyla eşler. |
targetCondition |
string |
Hedeflenen cihazları veya modülleri tanımlamak için kullanılan sorgu. Sorgu, ikiz etiketlerini ve/veya bildirilen özellikleri temel alır. |
ConfigurationQueriesTestResponse
Name | Tür | Description |
---|---|---|
customMetricQueryErrors |
object |
Özel ölçüm sorgusunu çalıştırma hataları. |
targetConditionError |
string |
Hedef koşul sorgusunu çalıştırma hataları. |