Table of Contents

Class CreateOrUpdateDiscoveredDeviceRequestSchema

Namespace
Azure.Iot.Operations.Services.AssetAndDeviceRegistry.DeviceDiscoveryService
Assembly
Azure.Iot.Operations.Services.dll
public class CreateOrUpdateDiscoveredDeviceRequestSchema : IJsonOnDeserialized, IJsonOnSerializing
Inheritance
CreateOrUpdateDiscoveredDeviceRequestSchema
Implements
Inherited Members

Properties

DiscoveredDevice

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.

[JsonPropertyName("discoveredDevice")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public DiscoveredDevice DiscoveredDevice { get; set; }

Property Value

DiscoveredDevice

DiscoveredDeviceName

The name of the discovered device to create or update. This field is used to perform deduplication of discovered devices.

[JsonPropertyName("discoveredDeviceName")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public string DiscoveredDeviceName { get; set; }

Property Value

string