Service - Get Configuration

Retrieve a configuration for Iot Hub devices and modules by it identifier.

GET https://fully-qualified-iothubname.azure-devices.net/configurations/{id}?api-version=2018-06-30

URI Parameters

Name In Required Type Description
id
path True
  • string
api-version
query True
  • string

Version of the Api.

Responses

Name Type Description
200 OK

Returns the Configuration object

Definitions

Configuration

Configuration for IotHub devices and modules.

ConfigurationContent

Configuration Content for Devices or Modules on Edge Devices.

ConfigurationMetrics

Configuration Metrics

Configuration

Configuration for IotHub devices and modules.

Name Type Description
content

Gets or sets Content for the configuration

createdTimeUtc
  • string

Gets creation time for the configuration

etag
  • string

Gets or sets configuration's ETag

id
  • string

Gets Identifier for the configuration

labels
  • object

Gets or sets labels for the configuration

lastUpdatedTimeUtc
  • string

Gets last update time for the configuration

metrics

Custom Configuration Metrics

priority
  • integer

Gets or sets Priority for the configuration

schemaVersion
  • string

Gets Schema version for the configuration

systemMetrics

System Configuration Metrics

targetCondition
  • string

Gets or sets Target Condition for the configuration

ConfigurationContent

Configuration Content for Devices or Modules on Edge Devices.

Name Type Description
deviceContent
  • object

Gets or sets device Configurations

modulesContent
  • object

Gets or sets Module Configurations

ConfigurationMetrics

Configuration Metrics

Name Type Description
queries
  • object
results
  • object