Share via


NamespaceAssetUpdateProperties Class

Definition

The updatable properties of the NamespaceAsset.

public class NamespaceAssetUpdateProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DeviceRegistry.Models.NamespaceAssetUpdateProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DeviceRegistry.Models.NamespaceAssetUpdateProperties>
type NamespaceAssetUpdateProperties = class
    interface IJsonModel<NamespaceAssetUpdateProperties>
    interface IPersistableModel<NamespaceAssetUpdateProperties>
Public Class NamespaceAssetUpdateProperties
Implements IJsonModel(Of NamespaceAssetUpdateProperties), IPersistableModel(Of NamespaceAssetUpdateProperties)
Inheritance
NamespaceAssetUpdateProperties
Implements

Constructors

Name Description
NamespaceAssetUpdateProperties()

Initializes a new instance of NamespaceAssetUpdateProperties.

Properties

Name Description
AssetTypeRefs

URIs or type definition IDs.

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:

  • BinaryData.FromObjectAsJson("foo"). : Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""). : Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }). : Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"). : Creates a payload of { "key": "value" }.

Datasets

Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.

DefaultDatasetsConfiguration

Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.

DefaultDatasetsDestinations

Default destinations for a dataset.

DefaultEventsConfiguration

Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.

DefaultEventsDestinations

Default destinations for an event.

DefaultManagementGroupsConfiguration

Stringified JSON that contains connector-specific default configuration for all management groups. Each management group can have its own configuration that overrides the default settings here.

DefaultStreamsConfiguration

Stringified JSON that contains connector-specific default configuration for all streams. Each stream can have its own configuration that overrides the default settings here.

DefaultStreamsDestinations

Default destinations for a stream.

Description

Human-readable description of the asset.

DisplayName

Human-readable display name.

DocumentationUri

Asset documentation reference.

Enabled

Enabled/disabled status of the asset.

EventGroups

Array of event groups that are part of the asset. Each event group can have per-event group configuration.

HardwareRevision

Asset hardware revision number.

ManagementGroups

Array of management groups that are part of the asset. Each management group can have a per-group configuration.

Manufacturer

Asset manufacturer.

ManufacturerUri

Asset manufacturer URI.

Model

Asset model.

ProductCode

Asset product code.

SerialNumber

Asset serial number.

SoftwareRevision

Asset software revision number.

Streams

Array of streams that are part of the asset. Each stream can have a per-stream configuration.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<NamespaceAssetUpdateProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<NamespaceAssetUpdateProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<NamespaceAssetUpdateProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<NamespaceAssetUpdateProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<NamespaceAssetUpdateProperties>.Write(ModelReaderWriterOptions)

Applies to