Table of Contents

Class CreateOrUpdateDiscoveredAssetRequestSchema

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

Properties

DiscoveredAsset

The discovered asset resource to create or update. Fields omitted in the request will be removed.

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

Property Value

DiscoveredAsset

DiscoveredAssetName

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

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

Property Value

string