Configuration Class

The configuration for Iot Hub device and module twins.

Inheritance
Configuration

Constructor

Configuration(*, id: Optional[str] = None, schema_version: Optional[str] = None, labels=None, content=None, target_condition: Optional[str] = None, created_time_utc=None, last_updated_time_utc=None, priority: Optional[int] = None, system_metrics=None, metrics=None, etag: Optional[str] = None, **kwargs)

Parameters

id
str
Required

The unique identifier of the configuration.

schema_version
str
Required

The schema version of the configuration.

labels
dict[str, str]
Required

The key-value pairs used to describe the configuration.

content
ConfigurationContent
Required

The content of the configuration.

target_condition
str
Required

The query used to define the targeted devices or modules. The query is based on twin tags and/or reported properties.

created_time_utc
datetime
Required

The creation date and time of the configuration.

last_updated_time_utc
datetime
Required

The update date and time of the configuration.

priority
int
Required

The priority number assigned to the configuration.

system_metrics
ConfigurationMetrics
Required

The system metrics computed by the IoT Hub that cannot be customized.

metrics
ConfigurationMetrics
Required

The custom metrics specified by the developer as queries against twin reported properties.

etag
str
Required

The ETag of the configuration.