Table of Contents

Class DiscoveredDevice

Namespace
Azure.Iot.Operations.Services.AssetAndDeviceRegistry.Generated.DeviceDiscoveryService
Assembly
Azure.Iot.Operations.Services.dll

The discovered device resource to create or update. Fields omitted in the request will be removed. The specified inbound endpoint will be added or updated in the inbound endpoints map.

public class DiscoveredDevice
Inheritance
DiscoveredDevice
Inherited Members

Properties

Attributes

A set of key-value pairs that contain custom attributes set by the customer.

[JsonPropertyName("attributes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Dictionary<string, string>? Attributes { get; set; }

Property Value

Dictionary<string, string>

Endpoints

Connection endpoint URL a device can use to connect to a service.

[JsonPropertyName("endpoints")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public DiscoveredDeviceEndpoints? Endpoints { get; set; }

Property Value

DiscoveredDeviceEndpoints

ExternalDeviceId

The unique identifier of the device.

[JsonPropertyName("externalDeviceId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ExternalDeviceId { get; set; }

Property Value

string

Manufacturer

Device manufacturer.

[JsonPropertyName("manufacturer")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Manufacturer { get; set; }

Property Value

string

Model

Device model.

[JsonPropertyName("model")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Model { get; set; }

Property Value

string

OperatingSystem

Device operating system name.

[JsonPropertyName("operatingSystem")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? OperatingSystem { get; set; }

Property Value

string

OperatingSystemVersion

Device operating system version.

[JsonPropertyName("operatingSystemVersion")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? OperatingSystemVersion { get; set; }

Property Value

string