共用方式為


Configuration Class

Definition

The configuration for IoT hub device and module twins.

public class Configuration : Microsoft.Azure.Devices.Shared.IETagHolder
public class Configuration
type Configuration = class
    interface IETagHolder
type Configuration = class
Public Class Configuration
Implements IETagHolder
Public Class Configuration
Inheritance
Configuration
Derived
Implements

Remarks

Device configurations provide the ability to perform IoT device configuration at scale. You can define configurations and summarize compliance as the configuration is applied. See https://docs.microsoft.com/azure/iot-hub/iot-hub-automatic-device-management for more details.

Constructors

Configuration(String)

Initializes an instance of this class.

Properties

Content

The content of the configuration.

ContentType

Gets the content type for configuration.

CreatedOnUtc

The creation date and time of the configuration.

CreatedTimeUtc

The creation date and time of the configuration.

ETag

The ETag of the configuration.

Id

The unique identifier of the configuration.

Labels

The key-value pairs used to describe the configuration.

LastUpdatedOnUtc

The update date and time of the configuration.

LastUpdatedTimeUtc

The update date and time of the configuration.

Metrics

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

Priority

The priority number assigned to the configuration.

SchemaVersion

The schema version of the configuration.

SystemMetrics

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

TargetCondition

The query used to define the targeted devices or modules.

Applies to