NamespaceDiscoveredAsset Class

Definition

Discovered asset definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DeviceRegistry.Models.NamespaceDiscoveredAssetTypeConverter))]
public class NamespaceDiscoveredAsset : Microsoft.Azure.PowerShell.Cmdlets.DeviceRegistry.Models.INamespaceDiscoveredAsset, Microsoft.Azure.PowerShell.Cmdlets.DeviceRegistry.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DeviceRegistry.Models.NamespaceDiscoveredAssetTypeConverter))>]
type NamespaceDiscoveredAsset = class
    interface INamespaceDiscoveredAsset
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class NamespaceDiscoveredAsset
Implements INamespaceDiscoveredAsset, IValidates
Inheritance
NamespaceDiscoveredAsset
Attributes
Implements

Constructors

Name Description
NamespaceDiscoveredAsset()

Creates an new NamespaceDiscoveredAsset instance.

Properties

Name Description
AssetTypeRef

URIs or type definition IDs.

Attribute

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

Dataset

Array of datasets that are part of the asset. Each dataset spec 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.

DefaultDatasetsDestination

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.

DefaultEventsDestination

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.

DefaultStreamsDestination

Default destinations for a stream.

Description

Human-readable description of the asset.

DeviceRefDeviceName

Name of the device resource

DeviceRefEndpointName

The name of endpoint to use

DiscoveryId

Identifier used to detect changes in the asset.

DisplayName

Human-readable display name.

DocumentationUri

Asset documentation reference.

EventGroup

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

ExtendedLocationName

The extended location name.

ExtendedLocationType

The extended location type.

ExternalAssetId

Asset ID provided by the customer.

HardwareRevision

Asset hardware revision number.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Location

The geo-location where the resource lives

ManagementGroup

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.

Name

The name of the resource

ProductCode

Asset product code.

ProvisioningState

Provisioning state of the resource.

ResourceGroupName

Gets the resource group name

SerialNumber

Asset serial number.

SoftwareRevision

Asset software revision number.

Stream

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

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Version

An integer that is incremented each time the resource is modified.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NamespaceDiscoveredAsset.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NamespaceDiscoveredAsset.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DeviceRegistry.Models.INamespaceDiscoveredAsset.

FromJsonString(String)

Creates a new instance of NamespaceDiscoveredAsset, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NamespaceDiscoveredAsset into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to