DeviceRegistryAssetPatch Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The type used for update operations of the Asset.
public class DeviceRegistryAssetPatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryAssetPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryAssetPatch>
type DeviceRegistryAssetPatch = class
interface IJsonModel<DeviceRegistryAssetPatch>
interface IPersistableModel<DeviceRegistryAssetPatch>
Public Class DeviceRegistryAssetPatch
Implements IJsonModel(Of DeviceRegistryAssetPatch), IPersistableModel(Of DeviceRegistryAssetPatch)
- Inheritance
-
DeviceRegistryAssetPatch
- Implements
Constructors
DeviceRegistryAssetPatch() |
Initializes a new instance of DeviceRegistryAssetPatch. |
Properties
AssetType |
Resource path to asset type (model) definition. |
Attributes |
A set of key-value pairs that contain custom attributes set by the customer. To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
DataPoints |
Array of data points that are part of the asset. Each data point can reference an asset type capability and have per-data point configuration. See below for more details for the definition of the dataPoints element. |
DefaultDataPointsConfiguration |
Protocol-specific default configuration for all data points. Each data point can have its own configuration that overrides the default settings here. This assumes that each asset instance has one protocol. |
DefaultEventsConfiguration |
Protocol-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here. This assumes that each asset instance has one protocol. |
Description |
Human-readable description of the asset. |
DisplayName |
Human-readable display name. |
DocumentationUri |
Reference to the documentation. |
Enabled |
Enabled/Disabled status of the asset. |
Events |
Array of events that are part of the asset. Each event can reference an asset type capability and have per-event configuration. See below for more details about the definition of the events element. |
HardwareRevision |
Revision number of the hardware. |
Manufacturer |
Asset manufacturer name. |
ManufacturerUri |
Asset manufacturer URI. |
Model |
Asset model name. |
ProductCode |
Asset product code. |
SerialNumber |
Asset serial number. |
SoftwareRevision |
Revision number of the software. |
Tags |
Resource tags. |
Explicit Interface Implementations
IJsonModel<DeviceRegistryAssetPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DeviceRegistryAssetPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DeviceRegistryAssetPatch>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DeviceRegistryAssetPatch>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DeviceRegistryAssetPatch>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET