1. Packages
  2. Azure Native
  3. API Docs
  4. deviceregistry
  5. Asset
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi

azure-native.deviceregistry.Asset

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi

    Asset definition.

    Uses Azure REST API version 2024-11-01. In version 2.x of the Azure Native provider, it used API version 2023-11-01-preview.

    Other available API versions: 2023-11-01-preview, 2024-09-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native deviceregistry [ApiVersion]. See the version guide for details.

    Example Usage

    Create_Asset_With_DiscoveredAssetRefs

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var asset = new AzureNative.DeviceRegistry.Asset("asset", new()
        {
            AssetEndpointProfileRef = "myAssetEndpointProfile",
            AssetName = "my-asset",
            Datasets = new[]
            {
                new AzureNative.DeviceRegistry.Inputs.DatasetArgs
                {
                    DataPoints = new[]
                    {
                        new AzureNative.DeviceRegistry.Inputs.DataPointArgs
                        {
                            DataPointConfiguration = "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}",
                            DataSource = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1",
                            Name = "dataPoint1",
                            ObservabilityMode = AzureNative.DeviceRegistry.DataPointObservabilityMode.Counter,
                        },
                        new AzureNative.DeviceRegistry.Inputs.DataPointArgs
                        {
                            DataPointConfiguration = "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}",
                            DataSource = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2",
                            Name = "dataPoint2",
                            ObservabilityMode = AzureNative.DeviceRegistry.DataPointObservabilityMode.None,
                        },
                    },
                    DatasetConfiguration = "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
                    Name = "dataset1",
                    Topic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
                    {
                        Path = "/path/dataset1",
                        Retain = AzureNative.DeviceRegistry.TopicRetainType.Keep,
                    },
                },
            },
            DefaultDatasetsConfiguration = "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            DefaultEventsConfiguration = "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            DefaultTopic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
            {
                Path = "/path/defaultTopic",
                Retain = AzureNative.DeviceRegistry.TopicRetainType.Keep,
            },
            Description = "This is a sample Asset",
            DiscoveredAssetRefs = new[]
            {
                "discoveredAsset1",
                "discoveredAsset2",
            },
            DisplayName = "AssetDisplayName",
            DocumentationUri = "https://www.example.com/manual",
            Enabled = true,
            Events = new[]
            {
                new AzureNative.DeviceRegistry.Inputs.EventArgs
                {
                    EventConfiguration = "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}",
                    EventNotifier = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3",
                    Name = "event1",
                    ObservabilityMode = AzureNative.DeviceRegistry.EventObservabilityMode.None,
                    Topic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
                    {
                        Path = "/path/event1",
                        Retain = AzureNative.DeviceRegistry.TopicRetainType.Keep,
                    },
                },
                new AzureNative.DeviceRegistry.Inputs.EventArgs
                {
                    EventConfiguration = "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}",
                    EventNotifier = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4",
                    Name = "event2",
                    ObservabilityMode = AzureNative.DeviceRegistry.EventObservabilityMode.Log,
                },
            },
            ExtendedLocation = new AzureNative.DeviceRegistry.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
                Type = "CustomLocation",
            },
            ExternalAssetId = "8ZBA6LRHU0A458969",
            HardwareRevision = "1.0",
            Location = "West Europe",
            Manufacturer = "Contoso",
            ManufacturerUri = "https://www.contoso.com/manufacturerUri",
            Model = "ContosoModel",
            ProductCode = "SA34VDG",
            ResourceGroupName = "myResourceGroup",
            SerialNumber = "64-103816-519918-8",
            SoftwareRevision = "2.0",
            Tags = 
            {
                { "site", "building-1" },
            },
        });
    
    });
    
    package main
    
    import (
    	deviceregistry "github.com/pulumi/pulumi-azure-native-sdk/deviceregistry/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := deviceregistry.NewAsset(ctx, "asset", &deviceregistry.AssetArgs{
    			AssetEndpointProfileRef: pulumi.String("myAssetEndpointProfile"),
    			AssetName:               pulumi.String("my-asset"),
    			Datasets: deviceregistry.DatasetArray{
    				&deviceregistry.DatasetArgs{
    					DataPoints: deviceregistry.DataPointArray{
    						&deviceregistry.DataPointArgs{
    							DataPointConfiguration: pulumi.String("{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"),
    							DataSource:             pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"),
    							Name:                   pulumi.String("dataPoint1"),
    							ObservabilityMode:      pulumi.String(deviceregistry.DataPointObservabilityModeCounter),
    						},
    						&deviceregistry.DataPointArgs{
    							DataPointConfiguration: pulumi.String("{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"),
    							DataSource:             pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"),
    							Name:                   pulumi.String("dataPoint2"),
    							ObservabilityMode:      pulumi.String(deviceregistry.DataPointObservabilityModeNone),
    						},
    					},
    					DatasetConfiguration: pulumi.String("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"),
    					Name:                 pulumi.String("dataset1"),
    					Topic: &deviceregistry.TopicArgs{
    						Path:   pulumi.String("/path/dataset1"),
    						Retain: pulumi.String(deviceregistry.TopicRetainTypeKeep),
    					},
    				},
    			},
    			DefaultDatasetsConfiguration: pulumi.String("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"),
    			DefaultEventsConfiguration:   pulumi.String("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"),
    			DefaultTopic: &deviceregistry.TopicArgs{
    				Path:   pulumi.String("/path/defaultTopic"),
    				Retain: pulumi.String(deviceregistry.TopicRetainTypeKeep),
    			},
    			Description: pulumi.String("This is a sample Asset"),
    			DiscoveredAssetRefs: pulumi.StringArray{
    				pulumi.String("discoveredAsset1"),
    				pulumi.String("discoveredAsset2"),
    			},
    			DisplayName:      pulumi.String("AssetDisplayName"),
    			DocumentationUri: pulumi.String("https://www.example.com/manual"),
    			Enabled:          pulumi.Bool(true),
    			Events: deviceregistry.EventArray{
    				&deviceregistry.EventArgs{
    					EventConfiguration: pulumi.String("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"),
    					EventNotifier:      pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"),
    					Name:               pulumi.String("event1"),
    					ObservabilityMode:  pulumi.String(deviceregistry.EventObservabilityModeNone),
    					Topic: &deviceregistry.TopicArgs{
    						Path:   pulumi.String("/path/event1"),
    						Retain: pulumi.String(deviceregistry.TopicRetainTypeKeep),
    					},
    				},
    				&deviceregistry.EventArgs{
    					EventConfiguration: pulumi.String("{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"),
    					EventNotifier:      pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"),
    					Name:               pulumi.String("event2"),
    					ObservabilityMode:  pulumi.String(deviceregistry.EventObservabilityModeLog),
    				},
    			},
    			ExtendedLocation: &deviceregistry.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"),
    				Type: pulumi.String("CustomLocation"),
    			},
    			ExternalAssetId:   pulumi.String("8ZBA6LRHU0A458969"),
    			HardwareRevision:  pulumi.String("1.0"),
    			Location:          pulumi.String("West Europe"),
    			Manufacturer:      pulumi.String("Contoso"),
    			ManufacturerUri:   pulumi.String("https://www.contoso.com/manufacturerUri"),
    			Model:             pulumi.String("ContosoModel"),
    			ProductCode:       pulumi.String("SA34VDG"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			SerialNumber:      pulumi.String("64-103816-519918-8"),
    			SoftwareRevision:  pulumi.String("2.0"),
    			Tags: pulumi.StringMap{
    				"site": pulumi.String("building-1"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.deviceregistry.Asset;
    import com.pulumi.azurenative.deviceregistry.AssetArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.DatasetArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.TopicArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.EventArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.ExtendedLocationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var asset = new Asset("asset", AssetArgs.builder()
                .assetEndpointProfileRef("myAssetEndpointProfile")
                .assetName("my-asset")
                .datasets(DatasetArgs.builder()
                    .dataPoints(                
                        DataPointArgs.builder()
                            .dataPointConfiguration("{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}")
                            .dataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1")
                            .name("dataPoint1")
                            .observabilityMode("Counter")
                            .build(),
                        DataPointArgs.builder()
                            .dataPointConfiguration("{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}")
                            .dataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2")
                            .name("dataPoint2")
                            .observabilityMode("None")
                            .build())
                    .datasetConfiguration("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}")
                    .name("dataset1")
                    .topic(TopicArgs.builder()
                        .path("/path/dataset1")
                        .retain("Keep")
                        .build())
                    .build())
                .defaultDatasetsConfiguration("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}")
                .defaultEventsConfiguration("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}")
                .defaultTopic(TopicArgs.builder()
                    .path("/path/defaultTopic")
                    .retain("Keep")
                    .build())
                .description("This is a sample Asset")
                .discoveredAssetRefs(            
                    "discoveredAsset1",
                    "discoveredAsset2")
                .displayName("AssetDisplayName")
                .documentationUri("https://www.example.com/manual")
                .enabled(true)
                .events(            
                    EventArgs.builder()
                        .eventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}")
                        .eventNotifier("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3")
                        .name("event1")
                        .observabilityMode("None")
                        .topic(TopicArgs.builder()
                            .path("/path/event1")
                            .retain("Keep")
                            .build())
                        .build(),
                    EventArgs.builder()
                        .eventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}")
                        .eventNotifier("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4")
                        .name("event2")
                        .observabilityMode("Log")
                        .build())
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1")
                    .type("CustomLocation")
                    .build())
                .externalAssetId("8ZBA6LRHU0A458969")
                .hardwareRevision("1.0")
                .location("West Europe")
                .manufacturer("Contoso")
                .manufacturerUri("https://www.contoso.com/manufacturerUri")
                .model("ContosoModel")
                .productCode("SA34VDG")
                .resourceGroupName("myResourceGroup")
                .serialNumber("64-103816-519918-8")
                .softwareRevision("2.0")
                .tags(Map.of("site", "building-1"))
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const asset = new azure_native.deviceregistry.Asset("asset", {
        assetEndpointProfileRef: "myAssetEndpointProfile",
        assetName: "my-asset",
        datasets: [{
            dataPoints: [
                {
                    dataPointConfiguration: "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}",
                    dataSource: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1",
                    name: "dataPoint1",
                    observabilityMode: azure_native.deviceregistry.DataPointObservabilityMode.Counter,
                },
                {
                    dataPointConfiguration: "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}",
                    dataSource: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2",
                    name: "dataPoint2",
                    observabilityMode: azure_native.deviceregistry.DataPointObservabilityMode.None,
                },
            ],
            datasetConfiguration: "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            name: "dataset1",
            topic: {
                path: "/path/dataset1",
                retain: azure_native.deviceregistry.TopicRetainType.Keep,
            },
        }],
        defaultDatasetsConfiguration: "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        defaultEventsConfiguration: "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        defaultTopic: {
            path: "/path/defaultTopic",
            retain: azure_native.deviceregistry.TopicRetainType.Keep,
        },
        description: "This is a sample Asset",
        discoveredAssetRefs: [
            "discoveredAsset1",
            "discoveredAsset2",
        ],
        displayName: "AssetDisplayName",
        documentationUri: "https://www.example.com/manual",
        enabled: true,
        events: [
            {
                eventConfiguration: "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}",
                eventNotifier: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3",
                name: "event1",
                observabilityMode: azure_native.deviceregistry.EventObservabilityMode.None,
                topic: {
                    path: "/path/event1",
                    retain: azure_native.deviceregistry.TopicRetainType.Keep,
                },
            },
            {
                eventConfiguration: "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}",
                eventNotifier: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4",
                name: "event2",
                observabilityMode: azure_native.deviceregistry.EventObservabilityMode.Log,
            },
        ],
        extendedLocation: {
            name: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
            type: "CustomLocation",
        },
        externalAssetId: "8ZBA6LRHU0A458969",
        hardwareRevision: "1.0",
        location: "West Europe",
        manufacturer: "Contoso",
        manufacturerUri: "https://www.contoso.com/manufacturerUri",
        model: "ContosoModel",
        productCode: "SA34VDG",
        resourceGroupName: "myResourceGroup",
        serialNumber: "64-103816-519918-8",
        softwareRevision: "2.0",
        tags: {
            site: "building-1",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    asset = azure_native.deviceregistry.Asset("asset",
        asset_endpoint_profile_ref="myAssetEndpointProfile",
        asset_name="my-asset",
        datasets=[{
            "data_points": [
                {
                    "data_point_configuration": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}",
                    "data_source": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1",
                    "name": "dataPoint1",
                    "observability_mode": azure_native.deviceregistry.DataPointObservabilityMode.COUNTER,
                },
                {
                    "data_point_configuration": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}",
                    "data_source": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2",
                    "name": "dataPoint2",
                    "observability_mode": azure_native.deviceregistry.DataPointObservabilityMode.NONE,
                },
            ],
            "dataset_configuration": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            "name": "dataset1",
            "topic": {
                "path": "/path/dataset1",
                "retain": azure_native.deviceregistry.TopicRetainType.KEEP,
            },
        }],
        default_datasets_configuration="{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        default_events_configuration="{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        default_topic={
            "path": "/path/defaultTopic",
            "retain": azure_native.deviceregistry.TopicRetainType.KEEP,
        },
        description="This is a sample Asset",
        discovered_asset_refs=[
            "discoveredAsset1",
            "discoveredAsset2",
        ],
        display_name="AssetDisplayName",
        documentation_uri="https://www.example.com/manual",
        enabled=True,
        events=[
            {
                "event_configuration": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}",
                "event_notifier": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3",
                "name": "event1",
                "observability_mode": azure_native.deviceregistry.EventObservabilityMode.NONE,
                "topic": {
                    "path": "/path/event1",
                    "retain": azure_native.deviceregistry.TopicRetainType.KEEP,
                },
            },
            {
                "event_configuration": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}",
                "event_notifier": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4",
                "name": "event2",
                "observability_mode": azure_native.deviceregistry.EventObservabilityMode.LOG,
            },
        ],
        extended_location={
            "name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
            "type": "CustomLocation",
        },
        external_asset_id="8ZBA6LRHU0A458969",
        hardware_revision="1.0",
        location="West Europe",
        manufacturer="Contoso",
        manufacturer_uri="https://www.contoso.com/manufacturerUri",
        model="ContosoModel",
        product_code="SA34VDG",
        resource_group_name="myResourceGroup",
        serial_number="64-103816-519918-8",
        software_revision="2.0",
        tags={
            "site": "building-1",
        })
    
    resources:
      asset:
        type: azure-native:deviceregistry:Asset
        properties:
          assetEndpointProfileRef: myAssetEndpointProfile
          assetName: my-asset
          datasets:
            - dataPoints:
                - dataPointConfiguration: '{"publishingInterval":8,"samplingInterval":8,"queueSize":4}'
                  dataSource: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1
                  name: dataPoint1
                  observabilityMode: Counter
                - dataPointConfiguration: '{"publishingInterval":4,"samplingInterval":4,"queueSize":7}'
                  dataSource: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2
                  name: dataPoint2
                  observabilityMode: None
              datasetConfiguration: '{"publishingInterval":10,"samplingInterval":15,"queueSize":20}'
              name: dataset1
              topic:
                path: /path/dataset1
                retain: Keep
          defaultDatasetsConfiguration: '{"publishingInterval":10,"samplingInterval":15,"queueSize":20}'
          defaultEventsConfiguration: '{"publishingInterval":10,"samplingInterval":15,"queueSize":20}'
          defaultTopic:
            path: /path/defaultTopic
            retain: Keep
          description: This is a sample Asset
          discoveredAssetRefs:
            - discoveredAsset1
            - discoveredAsset2
          displayName: AssetDisplayName
          documentationUri: https://www.example.com/manual
          enabled: true
          events:
            - eventConfiguration: '{"publishingInterval":7,"samplingInterval":1,"queueSize":8}'
              eventNotifier: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3
              name: event1
              observabilityMode: None
              topic:
                path: /path/event1
                retain: Keep
            - eventConfiguration: '{"publishingInterval":7,"samplingInterval":8,"queueSize":4}'
              eventNotifier: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4
              name: event2
              observabilityMode: Log
          extendedLocation:
            name: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1
            type: CustomLocation
          externalAssetId: 8ZBA6LRHU0A458969
          hardwareRevision: '1.0'
          location: West Europe
          manufacturer: Contoso
          manufacturerUri: https://www.contoso.com/manufacturerUri
          model: ContosoModel
          productCode: SA34VDG
          resourceGroupName: myResourceGroup
          serialNumber: 64-103816-519918-8
          softwareRevision: '2.0'
          tags:
            site: building-1
    

    Create_Asset_With_ExternalAssetId

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var asset = new AzureNative.DeviceRegistry.Asset("asset", new()
        {
            AssetEndpointProfileRef = "myAssetEndpointProfile",
            AssetName = "my-asset",
            Datasets = new[]
            {
                new AzureNative.DeviceRegistry.Inputs.DatasetArgs
                {
                    DataPoints = new[]
                    {
                        new AzureNative.DeviceRegistry.Inputs.DataPointArgs
                        {
                            DataPointConfiguration = "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}",
                            DataSource = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1",
                            Name = "dataPoint1",
                            ObservabilityMode = AzureNative.DeviceRegistry.DataPointObservabilityMode.Counter,
                        },
                        new AzureNative.DeviceRegistry.Inputs.DataPointArgs
                        {
                            DataPointConfiguration = "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}",
                            DataSource = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2",
                            Name = "dataPoint2",
                            ObservabilityMode = AzureNative.DeviceRegistry.DataPointObservabilityMode.None,
                        },
                    },
                    DatasetConfiguration = "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
                    Name = "dataset1",
                    Topic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
                    {
                        Path = "/path/dataset1",
                        Retain = AzureNative.DeviceRegistry.TopicRetainType.Keep,
                    },
                },
            },
            DefaultDatasetsConfiguration = "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            DefaultEventsConfiguration = "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            DefaultTopic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
            {
                Path = "/path/defaultTopic",
                Retain = AzureNative.DeviceRegistry.TopicRetainType.Keep,
            },
            Description = "This is a sample Asset",
            DisplayName = "AssetDisplayName",
            DocumentationUri = "https://www.example.com/manual",
            Enabled = true,
            Events = new[]
            {
                new AzureNative.DeviceRegistry.Inputs.EventArgs
                {
                    EventConfiguration = "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}",
                    EventNotifier = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3",
                    Name = "event1",
                    ObservabilityMode = AzureNative.DeviceRegistry.EventObservabilityMode.None,
                    Topic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
                    {
                        Path = "/path/event1",
                        Retain = AzureNative.DeviceRegistry.TopicRetainType.Keep,
                    },
                },
                new AzureNative.DeviceRegistry.Inputs.EventArgs
                {
                    EventConfiguration = "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}",
                    EventNotifier = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4",
                    Name = "event2",
                    ObservabilityMode = AzureNative.DeviceRegistry.EventObservabilityMode.Log,
                },
            },
            ExtendedLocation = new AzureNative.DeviceRegistry.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
                Type = "CustomLocation",
            },
            ExternalAssetId = "8ZBA6LRHU0A458969",
            HardwareRevision = "1.0",
            Location = "West Europe",
            Manufacturer = "Contoso",
            ManufacturerUri = "https://www.contoso.com/manufacturerUri",
            Model = "ContosoModel",
            ProductCode = "SA34VDG",
            ResourceGroupName = "myResourceGroup",
            SerialNumber = "64-103816-519918-8",
            SoftwareRevision = "2.0",
            Tags = 
            {
                { "site", "building-1" },
            },
        });
    
    });
    
    package main
    
    import (
    	deviceregistry "github.com/pulumi/pulumi-azure-native-sdk/deviceregistry/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := deviceregistry.NewAsset(ctx, "asset", &deviceregistry.AssetArgs{
    			AssetEndpointProfileRef: pulumi.String("myAssetEndpointProfile"),
    			AssetName:               pulumi.String("my-asset"),
    			Datasets: deviceregistry.DatasetArray{
    				&deviceregistry.DatasetArgs{
    					DataPoints: deviceregistry.DataPointArray{
    						&deviceregistry.DataPointArgs{
    							DataPointConfiguration: pulumi.String("{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"),
    							DataSource:             pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"),
    							Name:                   pulumi.String("dataPoint1"),
    							ObservabilityMode:      pulumi.String(deviceregistry.DataPointObservabilityModeCounter),
    						},
    						&deviceregistry.DataPointArgs{
    							DataPointConfiguration: pulumi.String("{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"),
    							DataSource:             pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"),
    							Name:                   pulumi.String("dataPoint2"),
    							ObservabilityMode:      pulumi.String(deviceregistry.DataPointObservabilityModeNone),
    						},
    					},
    					DatasetConfiguration: pulumi.String("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"),
    					Name:                 pulumi.String("dataset1"),
    					Topic: &deviceregistry.TopicArgs{
    						Path:   pulumi.String("/path/dataset1"),
    						Retain: pulumi.String(deviceregistry.TopicRetainTypeKeep),
    					},
    				},
    			},
    			DefaultDatasetsConfiguration: pulumi.String("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"),
    			DefaultEventsConfiguration:   pulumi.String("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"),
    			DefaultTopic: &deviceregistry.TopicArgs{
    				Path:   pulumi.String("/path/defaultTopic"),
    				Retain: pulumi.String(deviceregistry.TopicRetainTypeKeep),
    			},
    			Description:      pulumi.String("This is a sample Asset"),
    			DisplayName:      pulumi.String("AssetDisplayName"),
    			DocumentationUri: pulumi.String("https://www.example.com/manual"),
    			Enabled:          pulumi.Bool(true),
    			Events: deviceregistry.EventArray{
    				&deviceregistry.EventArgs{
    					EventConfiguration: pulumi.String("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"),
    					EventNotifier:      pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"),
    					Name:               pulumi.String("event1"),
    					ObservabilityMode:  pulumi.String(deviceregistry.EventObservabilityModeNone),
    					Topic: &deviceregistry.TopicArgs{
    						Path:   pulumi.String("/path/event1"),
    						Retain: pulumi.String(deviceregistry.TopicRetainTypeKeep),
    					},
    				},
    				&deviceregistry.EventArgs{
    					EventConfiguration: pulumi.String("{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"),
    					EventNotifier:      pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"),
    					Name:               pulumi.String("event2"),
    					ObservabilityMode:  pulumi.String(deviceregistry.EventObservabilityModeLog),
    				},
    			},
    			ExtendedLocation: &deviceregistry.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"),
    				Type: pulumi.String("CustomLocation"),
    			},
    			ExternalAssetId:   pulumi.String("8ZBA6LRHU0A458969"),
    			HardwareRevision:  pulumi.String("1.0"),
    			Location:          pulumi.String("West Europe"),
    			Manufacturer:      pulumi.String("Contoso"),
    			ManufacturerUri:   pulumi.String("https://www.contoso.com/manufacturerUri"),
    			Model:             pulumi.String("ContosoModel"),
    			ProductCode:       pulumi.String("SA34VDG"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			SerialNumber:      pulumi.String("64-103816-519918-8"),
    			SoftwareRevision:  pulumi.String("2.0"),
    			Tags: pulumi.StringMap{
    				"site": pulumi.String("building-1"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.deviceregistry.Asset;
    import com.pulumi.azurenative.deviceregistry.AssetArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.DatasetArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.TopicArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.EventArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.ExtendedLocationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var asset = new Asset("asset", AssetArgs.builder()
                .assetEndpointProfileRef("myAssetEndpointProfile")
                .assetName("my-asset")
                .datasets(DatasetArgs.builder()
                    .dataPoints(                
                        DataPointArgs.builder()
                            .dataPointConfiguration("{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}")
                            .dataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1")
                            .name("dataPoint1")
                            .observabilityMode("Counter")
                            .build(),
                        DataPointArgs.builder()
                            .dataPointConfiguration("{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}")
                            .dataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2")
                            .name("dataPoint2")
                            .observabilityMode("None")
                            .build())
                    .datasetConfiguration("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}")
                    .name("dataset1")
                    .topic(TopicArgs.builder()
                        .path("/path/dataset1")
                        .retain("Keep")
                        .build())
                    .build())
                .defaultDatasetsConfiguration("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}")
                .defaultEventsConfiguration("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}")
                .defaultTopic(TopicArgs.builder()
                    .path("/path/defaultTopic")
                    .retain("Keep")
                    .build())
                .description("This is a sample Asset")
                .displayName("AssetDisplayName")
                .documentationUri("https://www.example.com/manual")
                .enabled(true)
                .events(            
                    EventArgs.builder()
                        .eventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}")
                        .eventNotifier("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3")
                        .name("event1")
                        .observabilityMode("None")
                        .topic(TopicArgs.builder()
                            .path("/path/event1")
                            .retain("Keep")
                            .build())
                        .build(),
                    EventArgs.builder()
                        .eventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}")
                        .eventNotifier("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4")
                        .name("event2")
                        .observabilityMode("Log")
                        .build())
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1")
                    .type("CustomLocation")
                    .build())
                .externalAssetId("8ZBA6LRHU0A458969")
                .hardwareRevision("1.0")
                .location("West Europe")
                .manufacturer("Contoso")
                .manufacturerUri("https://www.contoso.com/manufacturerUri")
                .model("ContosoModel")
                .productCode("SA34VDG")
                .resourceGroupName("myResourceGroup")
                .serialNumber("64-103816-519918-8")
                .softwareRevision("2.0")
                .tags(Map.of("site", "building-1"))
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const asset = new azure_native.deviceregistry.Asset("asset", {
        assetEndpointProfileRef: "myAssetEndpointProfile",
        assetName: "my-asset",
        datasets: [{
            dataPoints: [
                {
                    dataPointConfiguration: "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}",
                    dataSource: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1",
                    name: "dataPoint1",
                    observabilityMode: azure_native.deviceregistry.DataPointObservabilityMode.Counter,
                },
                {
                    dataPointConfiguration: "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}",
                    dataSource: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2",
                    name: "dataPoint2",
                    observabilityMode: azure_native.deviceregistry.DataPointObservabilityMode.None,
                },
            ],
            datasetConfiguration: "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            name: "dataset1",
            topic: {
                path: "/path/dataset1",
                retain: azure_native.deviceregistry.TopicRetainType.Keep,
            },
        }],
        defaultDatasetsConfiguration: "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        defaultEventsConfiguration: "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        defaultTopic: {
            path: "/path/defaultTopic",
            retain: azure_native.deviceregistry.TopicRetainType.Keep,
        },
        description: "This is a sample Asset",
        displayName: "AssetDisplayName",
        documentationUri: "https://www.example.com/manual",
        enabled: true,
        events: [
            {
                eventConfiguration: "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}",
                eventNotifier: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3",
                name: "event1",
                observabilityMode: azure_native.deviceregistry.EventObservabilityMode.None,
                topic: {
                    path: "/path/event1",
                    retain: azure_native.deviceregistry.TopicRetainType.Keep,
                },
            },
            {
                eventConfiguration: "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}",
                eventNotifier: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4",
                name: "event2",
                observabilityMode: azure_native.deviceregistry.EventObservabilityMode.Log,
            },
        ],
        extendedLocation: {
            name: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
            type: "CustomLocation",
        },
        externalAssetId: "8ZBA6LRHU0A458969",
        hardwareRevision: "1.0",
        location: "West Europe",
        manufacturer: "Contoso",
        manufacturerUri: "https://www.contoso.com/manufacturerUri",
        model: "ContosoModel",
        productCode: "SA34VDG",
        resourceGroupName: "myResourceGroup",
        serialNumber: "64-103816-519918-8",
        softwareRevision: "2.0",
        tags: {
            site: "building-1",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    asset = azure_native.deviceregistry.Asset("asset",
        asset_endpoint_profile_ref="myAssetEndpointProfile",
        asset_name="my-asset",
        datasets=[{
            "data_points": [
                {
                    "data_point_configuration": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}",
                    "data_source": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1",
                    "name": "dataPoint1",
                    "observability_mode": azure_native.deviceregistry.DataPointObservabilityMode.COUNTER,
                },
                {
                    "data_point_configuration": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}",
                    "data_source": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2",
                    "name": "dataPoint2",
                    "observability_mode": azure_native.deviceregistry.DataPointObservabilityMode.NONE,
                },
            ],
            "dataset_configuration": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            "name": "dataset1",
            "topic": {
                "path": "/path/dataset1",
                "retain": azure_native.deviceregistry.TopicRetainType.KEEP,
            },
        }],
        default_datasets_configuration="{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        default_events_configuration="{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        default_topic={
            "path": "/path/defaultTopic",
            "retain": azure_native.deviceregistry.TopicRetainType.KEEP,
        },
        description="This is a sample Asset",
        display_name="AssetDisplayName",
        documentation_uri="https://www.example.com/manual",
        enabled=True,
        events=[
            {
                "event_configuration": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}",
                "event_notifier": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3",
                "name": "event1",
                "observability_mode": azure_native.deviceregistry.EventObservabilityMode.NONE,
                "topic": {
                    "path": "/path/event1",
                    "retain": azure_native.deviceregistry.TopicRetainType.KEEP,
                },
            },
            {
                "event_configuration": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}",
                "event_notifier": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4",
                "name": "event2",
                "observability_mode": azure_native.deviceregistry.EventObservabilityMode.LOG,
            },
        ],
        extended_location={
            "name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
            "type": "CustomLocation",
        },
        external_asset_id="8ZBA6LRHU0A458969",
        hardware_revision="1.0",
        location="West Europe",
        manufacturer="Contoso",
        manufacturer_uri="https://www.contoso.com/manufacturerUri",
        model="ContosoModel",
        product_code="SA34VDG",
        resource_group_name="myResourceGroup",
        serial_number="64-103816-519918-8",
        software_revision="2.0",
        tags={
            "site": "building-1",
        })
    
    resources:
      asset:
        type: azure-native:deviceregistry:Asset
        properties:
          assetEndpointProfileRef: myAssetEndpointProfile
          assetName: my-asset
          datasets:
            - dataPoints:
                - dataPointConfiguration: '{"publishingInterval":8,"samplingInterval":8,"queueSize":4}'
                  dataSource: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1
                  name: dataPoint1
                  observabilityMode: Counter
                - dataPointConfiguration: '{"publishingInterval":4,"samplingInterval":4,"queueSize":7}'
                  dataSource: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2
                  name: dataPoint2
                  observabilityMode: None
              datasetConfiguration: '{"publishingInterval":10,"samplingInterval":15,"queueSize":20}'
              name: dataset1
              topic:
                path: /path/dataset1
                retain: Keep
          defaultDatasetsConfiguration: '{"publishingInterval":10,"samplingInterval":15,"queueSize":20}'
          defaultEventsConfiguration: '{"publishingInterval":10,"samplingInterval":15,"queueSize":20}'
          defaultTopic:
            path: /path/defaultTopic
            retain: Keep
          description: This is a sample Asset
          displayName: AssetDisplayName
          documentationUri: https://www.example.com/manual
          enabled: true
          events:
            - eventConfiguration: '{"publishingInterval":7,"samplingInterval":1,"queueSize":8}'
              eventNotifier: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3
              name: event1
              observabilityMode: None
              topic:
                path: /path/event1
                retain: Keep
            - eventConfiguration: '{"publishingInterval":7,"samplingInterval":8,"queueSize":4}'
              eventNotifier: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4
              name: event2
              observabilityMode: Log
          extendedLocation:
            name: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1
            type: CustomLocation
          externalAssetId: 8ZBA6LRHU0A458969
          hardwareRevision: '1.0'
          location: West Europe
          manufacturer: Contoso
          manufacturerUri: https://www.contoso.com/manufacturerUri
          model: ContosoModel
          productCode: SA34VDG
          resourceGroupName: myResourceGroup
          serialNumber: 64-103816-519918-8
          softwareRevision: '2.0'
          tags:
            site: building-1
    

    Create_Asset_Without_DisplayName

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var asset = new AzureNative.DeviceRegistry.Asset("asset", new()
        {
            AssetEndpointProfileRef = "myAssetEndpointProfile",
            AssetName = "my-asset",
            Datasets = new[]
            {
                new AzureNative.DeviceRegistry.Inputs.DatasetArgs
                {
                    DataPoints = new[]
                    {
                        new AzureNative.DeviceRegistry.Inputs.DataPointArgs
                        {
                            DataPointConfiguration = "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}",
                            DataSource = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1",
                            Name = "dataPoint1",
                            ObservabilityMode = AzureNative.DeviceRegistry.DataPointObservabilityMode.Counter,
                        },
                        new AzureNative.DeviceRegistry.Inputs.DataPointArgs
                        {
                            DataPointConfiguration = "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}",
                            DataSource = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2",
                            Name = "dataPoint2",
                            ObservabilityMode = AzureNative.DeviceRegistry.DataPointObservabilityMode.None,
                        },
                    },
                    DatasetConfiguration = "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
                    Name = "dataset1",
                    Topic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
                    {
                        Path = "/path/dataset1",
                        Retain = AzureNative.DeviceRegistry.TopicRetainType.Keep,
                    },
                },
            },
            DefaultDatasetsConfiguration = "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            DefaultEventsConfiguration = "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            DefaultTopic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
            {
                Path = "/path/defaultTopic",
                Retain = AzureNative.DeviceRegistry.TopicRetainType.Keep,
            },
            Description = "This is a sample Asset",
            DocumentationUri = "https://www.example.com/manual",
            Enabled = true,
            Events = new[]
            {
                new AzureNative.DeviceRegistry.Inputs.EventArgs
                {
                    EventConfiguration = "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}",
                    EventNotifier = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3",
                    Name = "event1",
                    ObservabilityMode = AzureNative.DeviceRegistry.EventObservabilityMode.None,
                    Topic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
                    {
                        Path = "/path/event1",
                        Retain = AzureNative.DeviceRegistry.TopicRetainType.Keep,
                    },
                },
                new AzureNative.DeviceRegistry.Inputs.EventArgs
                {
                    EventConfiguration = "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}",
                    EventNotifier = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4",
                    Name = "event2",
                    ObservabilityMode = AzureNative.DeviceRegistry.EventObservabilityMode.Log,
                },
            },
            ExtendedLocation = new AzureNative.DeviceRegistry.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
                Type = "CustomLocation",
            },
            ExternalAssetId = "8ZBA6LRHU0A458969",
            HardwareRevision = "1.0",
            Location = "West Europe",
            Manufacturer = "Contoso",
            ManufacturerUri = "https://www.contoso.com/manufacturerUri",
            Model = "ContosoModel",
            ProductCode = "SA34VDG",
            ResourceGroupName = "myResourceGroup",
            SerialNumber = "64-103816-519918-8",
            SoftwareRevision = "2.0",
            Tags = 
            {
                { "site", "building-1" },
            },
        });
    
    });
    
    package main
    
    import (
    	deviceregistry "github.com/pulumi/pulumi-azure-native-sdk/deviceregistry/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := deviceregistry.NewAsset(ctx, "asset", &deviceregistry.AssetArgs{
    			AssetEndpointProfileRef: pulumi.String("myAssetEndpointProfile"),
    			AssetName:               pulumi.String("my-asset"),
    			Datasets: deviceregistry.DatasetArray{
    				&deviceregistry.DatasetArgs{
    					DataPoints: deviceregistry.DataPointArray{
    						&deviceregistry.DataPointArgs{
    							DataPointConfiguration: pulumi.String("{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"),
    							DataSource:             pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"),
    							Name:                   pulumi.String("dataPoint1"),
    							ObservabilityMode:      pulumi.String(deviceregistry.DataPointObservabilityModeCounter),
    						},
    						&deviceregistry.DataPointArgs{
    							DataPointConfiguration: pulumi.String("{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"),
    							DataSource:             pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"),
    							Name:                   pulumi.String("dataPoint2"),
    							ObservabilityMode:      pulumi.String(deviceregistry.DataPointObservabilityModeNone),
    						},
    					},
    					DatasetConfiguration: pulumi.String("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"),
    					Name:                 pulumi.String("dataset1"),
    					Topic: &deviceregistry.TopicArgs{
    						Path:   pulumi.String("/path/dataset1"),
    						Retain: pulumi.String(deviceregistry.TopicRetainTypeKeep),
    					},
    				},
    			},
    			DefaultDatasetsConfiguration: pulumi.String("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"),
    			DefaultEventsConfiguration:   pulumi.String("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"),
    			DefaultTopic: &deviceregistry.TopicArgs{
    				Path:   pulumi.String("/path/defaultTopic"),
    				Retain: pulumi.String(deviceregistry.TopicRetainTypeKeep),
    			},
    			Description:      pulumi.String("This is a sample Asset"),
    			DocumentationUri: pulumi.String("https://www.example.com/manual"),
    			Enabled:          pulumi.Bool(true),
    			Events: deviceregistry.EventArray{
    				&deviceregistry.EventArgs{
    					EventConfiguration: pulumi.String("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"),
    					EventNotifier:      pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"),
    					Name:               pulumi.String("event1"),
    					ObservabilityMode:  pulumi.String(deviceregistry.EventObservabilityModeNone),
    					Topic: &deviceregistry.TopicArgs{
    						Path:   pulumi.String("/path/event1"),
    						Retain: pulumi.String(deviceregistry.TopicRetainTypeKeep),
    					},
    				},
    				&deviceregistry.EventArgs{
    					EventConfiguration: pulumi.String("{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"),
    					EventNotifier:      pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"),
    					Name:               pulumi.String("event2"),
    					ObservabilityMode:  pulumi.String(deviceregistry.EventObservabilityModeLog),
    				},
    			},
    			ExtendedLocation: &deviceregistry.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"),
    				Type: pulumi.String("CustomLocation"),
    			},
    			ExternalAssetId:   pulumi.String("8ZBA6LRHU0A458969"),
    			HardwareRevision:  pulumi.String("1.0"),
    			Location:          pulumi.String("West Europe"),
    			Manufacturer:      pulumi.String("Contoso"),
    			ManufacturerUri:   pulumi.String("https://www.contoso.com/manufacturerUri"),
    			Model:             pulumi.String("ContosoModel"),
    			ProductCode:       pulumi.String("SA34VDG"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			SerialNumber:      pulumi.String("64-103816-519918-8"),
    			SoftwareRevision:  pulumi.String("2.0"),
    			Tags: pulumi.StringMap{
    				"site": pulumi.String("building-1"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.deviceregistry.Asset;
    import com.pulumi.azurenative.deviceregistry.AssetArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.DatasetArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.TopicArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.EventArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.ExtendedLocationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var asset = new Asset("asset", AssetArgs.builder()
                .assetEndpointProfileRef("myAssetEndpointProfile")
                .assetName("my-asset")
                .datasets(DatasetArgs.builder()
                    .dataPoints(                
                        DataPointArgs.builder()
                            .dataPointConfiguration("{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}")
                            .dataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1")
                            .name("dataPoint1")
                            .observabilityMode("Counter")
                            .build(),
                        DataPointArgs.builder()
                            .dataPointConfiguration("{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}")
                            .dataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2")
                            .name("dataPoint2")
                            .observabilityMode("None")
                            .build())
                    .datasetConfiguration("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}")
                    .name("dataset1")
                    .topic(TopicArgs.builder()
                        .path("/path/dataset1")
                        .retain("Keep")
                        .build())
                    .build())
                .defaultDatasetsConfiguration("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}")
                .defaultEventsConfiguration("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}")
                .defaultTopic(TopicArgs.builder()
                    .path("/path/defaultTopic")
                    .retain("Keep")
                    .build())
                .description("This is a sample Asset")
                .documentationUri("https://www.example.com/manual")
                .enabled(true)
                .events(            
                    EventArgs.builder()
                        .eventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}")
                        .eventNotifier("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3")
                        .name("event1")
                        .observabilityMode("None")
                        .topic(TopicArgs.builder()
                            .path("/path/event1")
                            .retain("Keep")
                            .build())
                        .build(),
                    EventArgs.builder()
                        .eventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}")
                        .eventNotifier("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4")
                        .name("event2")
                        .observabilityMode("Log")
                        .build())
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1")
                    .type("CustomLocation")
                    .build())
                .externalAssetId("8ZBA6LRHU0A458969")
                .hardwareRevision("1.0")
                .location("West Europe")
                .manufacturer("Contoso")
                .manufacturerUri("https://www.contoso.com/manufacturerUri")
                .model("ContosoModel")
                .productCode("SA34VDG")
                .resourceGroupName("myResourceGroup")
                .serialNumber("64-103816-519918-8")
                .softwareRevision("2.0")
                .tags(Map.of("site", "building-1"))
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const asset = new azure_native.deviceregistry.Asset("asset", {
        assetEndpointProfileRef: "myAssetEndpointProfile",
        assetName: "my-asset",
        datasets: [{
            dataPoints: [
                {
                    dataPointConfiguration: "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}",
                    dataSource: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1",
                    name: "dataPoint1",
                    observabilityMode: azure_native.deviceregistry.DataPointObservabilityMode.Counter,
                },
                {
                    dataPointConfiguration: "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}",
                    dataSource: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2",
                    name: "dataPoint2",
                    observabilityMode: azure_native.deviceregistry.DataPointObservabilityMode.None,
                },
            ],
            datasetConfiguration: "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            name: "dataset1",
            topic: {
                path: "/path/dataset1",
                retain: azure_native.deviceregistry.TopicRetainType.Keep,
            },
        }],
        defaultDatasetsConfiguration: "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        defaultEventsConfiguration: "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        defaultTopic: {
            path: "/path/defaultTopic",
            retain: azure_native.deviceregistry.TopicRetainType.Keep,
        },
        description: "This is a sample Asset",
        documentationUri: "https://www.example.com/manual",
        enabled: true,
        events: [
            {
                eventConfiguration: "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}",
                eventNotifier: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3",
                name: "event1",
                observabilityMode: azure_native.deviceregistry.EventObservabilityMode.None,
                topic: {
                    path: "/path/event1",
                    retain: azure_native.deviceregistry.TopicRetainType.Keep,
                },
            },
            {
                eventConfiguration: "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}",
                eventNotifier: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4",
                name: "event2",
                observabilityMode: azure_native.deviceregistry.EventObservabilityMode.Log,
            },
        ],
        extendedLocation: {
            name: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
            type: "CustomLocation",
        },
        externalAssetId: "8ZBA6LRHU0A458969",
        hardwareRevision: "1.0",
        location: "West Europe",
        manufacturer: "Contoso",
        manufacturerUri: "https://www.contoso.com/manufacturerUri",
        model: "ContosoModel",
        productCode: "SA34VDG",
        resourceGroupName: "myResourceGroup",
        serialNumber: "64-103816-519918-8",
        softwareRevision: "2.0",
        tags: {
            site: "building-1",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    asset = azure_native.deviceregistry.Asset("asset",
        asset_endpoint_profile_ref="myAssetEndpointProfile",
        asset_name="my-asset",
        datasets=[{
            "data_points": [
                {
                    "data_point_configuration": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}",
                    "data_source": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1",
                    "name": "dataPoint1",
                    "observability_mode": azure_native.deviceregistry.DataPointObservabilityMode.COUNTER,
                },
                {
                    "data_point_configuration": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}",
                    "data_source": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2",
                    "name": "dataPoint2",
                    "observability_mode": azure_native.deviceregistry.DataPointObservabilityMode.NONE,
                },
            ],
            "dataset_configuration": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            "name": "dataset1",
            "topic": {
                "path": "/path/dataset1",
                "retain": azure_native.deviceregistry.TopicRetainType.KEEP,
            },
        }],
        default_datasets_configuration="{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        default_events_configuration="{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        default_topic={
            "path": "/path/defaultTopic",
            "retain": azure_native.deviceregistry.TopicRetainType.KEEP,
        },
        description="This is a sample Asset",
        documentation_uri="https://www.example.com/manual",
        enabled=True,
        events=[
            {
                "event_configuration": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}",
                "event_notifier": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3",
                "name": "event1",
                "observability_mode": azure_native.deviceregistry.EventObservabilityMode.NONE,
                "topic": {
                    "path": "/path/event1",
                    "retain": azure_native.deviceregistry.TopicRetainType.KEEP,
                },
            },
            {
                "event_configuration": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}",
                "event_notifier": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4",
                "name": "event2",
                "observability_mode": azure_native.deviceregistry.EventObservabilityMode.LOG,
            },
        ],
        extended_location={
            "name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
            "type": "CustomLocation",
        },
        external_asset_id="8ZBA6LRHU0A458969",
        hardware_revision="1.0",
        location="West Europe",
        manufacturer="Contoso",
        manufacturer_uri="https://www.contoso.com/manufacturerUri",
        model="ContosoModel",
        product_code="SA34VDG",
        resource_group_name="myResourceGroup",
        serial_number="64-103816-519918-8",
        software_revision="2.0",
        tags={
            "site": "building-1",
        })
    
    resources:
      asset:
        type: azure-native:deviceregistry:Asset
        properties:
          assetEndpointProfileRef: myAssetEndpointProfile
          assetName: my-asset
          datasets:
            - dataPoints:
                - dataPointConfiguration: '{"publishingInterval":8,"samplingInterval":8,"queueSize":4}'
                  dataSource: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1
                  name: dataPoint1
                  observabilityMode: Counter
                - dataPointConfiguration: '{"publishingInterval":4,"samplingInterval":4,"queueSize":7}'
                  dataSource: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2
                  name: dataPoint2
                  observabilityMode: None
              datasetConfiguration: '{"publishingInterval":10,"samplingInterval":15,"queueSize":20}'
              name: dataset1
              topic:
                path: /path/dataset1
                retain: Keep
          defaultDatasetsConfiguration: '{"publishingInterval":10,"samplingInterval":15,"queueSize":20}'
          defaultEventsConfiguration: '{"publishingInterval":10,"samplingInterval":15,"queueSize":20}'
          defaultTopic:
            path: /path/defaultTopic
            retain: Keep
          description: This is a sample Asset
          documentationUri: https://www.example.com/manual
          enabled: true
          events:
            - eventConfiguration: '{"publishingInterval":7,"samplingInterval":1,"queueSize":8}'
              eventNotifier: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3
              name: event1
              observabilityMode: None
              topic:
                path: /path/event1
                retain: Keep
            - eventConfiguration: '{"publishingInterval":7,"samplingInterval":8,"queueSize":4}'
              eventNotifier: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4
              name: event2
              observabilityMode: Log
          extendedLocation:
            name: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1
            type: CustomLocation
          externalAssetId: 8ZBA6LRHU0A458969
          hardwareRevision: '1.0'
          location: West Europe
          manufacturer: Contoso
          manufacturerUri: https://www.contoso.com/manufacturerUri
          model: ContosoModel
          productCode: SA34VDG
          resourceGroupName: myResourceGroup
          serialNumber: 64-103816-519918-8
          softwareRevision: '2.0'
          tags:
            site: building-1
    

    Create_Asset_Without_ExternalAssetId

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var asset = new AzureNative.DeviceRegistry.Asset("asset", new()
        {
            AssetEndpointProfileRef = "myAssetEndpointProfile",
            AssetName = "my-asset",
            Datasets = new[]
            {
                new AzureNative.DeviceRegistry.Inputs.DatasetArgs
                {
                    DataPoints = new[]
                    {
                        new AzureNative.DeviceRegistry.Inputs.DataPointArgs
                        {
                            DataPointConfiguration = "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}",
                            DataSource = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1",
                            Name = "dataPoint1",
                            ObservabilityMode = AzureNative.DeviceRegistry.DataPointObservabilityMode.Counter,
                        },
                        new AzureNative.DeviceRegistry.Inputs.DataPointArgs
                        {
                            DataPointConfiguration = "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}",
                            DataSource = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2",
                            Name = "dataPoint2",
                            ObservabilityMode = AzureNative.DeviceRegistry.DataPointObservabilityMode.None,
                        },
                    },
                    DatasetConfiguration = "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
                    Name = "dataset1",
                    Topic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
                    {
                        Path = "/path/dataset1",
                        Retain = AzureNative.DeviceRegistry.TopicRetainType.Keep,
                    },
                },
            },
            DefaultDatasetsConfiguration = "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            DefaultEventsConfiguration = "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            DefaultTopic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
            {
                Path = "/path/defaultTopic",
                Retain = AzureNative.DeviceRegistry.TopicRetainType.Keep,
            },
            Description = "This is a sample Asset",
            DisplayName = "AssetDisplayName",
            DocumentationUri = "https://www.example.com/manual",
            Enabled = true,
            Events = new[]
            {
                new AzureNative.DeviceRegistry.Inputs.EventArgs
                {
                    EventConfiguration = "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}",
                    EventNotifier = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3",
                    Name = "event1",
                    ObservabilityMode = AzureNative.DeviceRegistry.EventObservabilityMode.None,
                    Topic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
                    {
                        Path = "/path/event1",
                        Retain = AzureNative.DeviceRegistry.TopicRetainType.Keep,
                    },
                },
                new AzureNative.DeviceRegistry.Inputs.EventArgs
                {
                    EventConfiguration = "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}",
                    EventNotifier = "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4",
                    Name = "event2",
                    ObservabilityMode = AzureNative.DeviceRegistry.EventObservabilityMode.Log,
                },
            },
            ExtendedLocation = new AzureNative.DeviceRegistry.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
                Type = "CustomLocation",
            },
            HardwareRevision = "1.0",
            Location = "West Europe",
            Manufacturer = "Contoso",
            ManufacturerUri = "https://www.contoso.com/manufacturerUri",
            Model = "ContosoModel",
            ProductCode = "SA34VDG",
            ResourceGroupName = "myResourceGroup",
            SerialNumber = "64-103816-519918-8",
            SoftwareRevision = "2.0",
            Tags = 
            {
                { "site", "building-1" },
            },
        });
    
    });
    
    package main
    
    import (
    	deviceregistry "github.com/pulumi/pulumi-azure-native-sdk/deviceregistry/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := deviceregistry.NewAsset(ctx, "asset", &deviceregistry.AssetArgs{
    			AssetEndpointProfileRef: pulumi.String("myAssetEndpointProfile"),
    			AssetName:               pulumi.String("my-asset"),
    			Datasets: deviceregistry.DatasetArray{
    				&deviceregistry.DatasetArgs{
    					DataPoints: deviceregistry.DataPointArray{
    						&deviceregistry.DataPointArgs{
    							DataPointConfiguration: pulumi.String("{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"),
    							DataSource:             pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"),
    							Name:                   pulumi.String("dataPoint1"),
    							ObservabilityMode:      pulumi.String(deviceregistry.DataPointObservabilityModeCounter),
    						},
    						&deviceregistry.DataPointArgs{
    							DataPointConfiguration: pulumi.String("{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"),
    							DataSource:             pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"),
    							Name:                   pulumi.String("dataPoint2"),
    							ObservabilityMode:      pulumi.String(deviceregistry.DataPointObservabilityModeNone),
    						},
    					},
    					DatasetConfiguration: pulumi.String("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"),
    					Name:                 pulumi.String("dataset1"),
    					Topic: &deviceregistry.TopicArgs{
    						Path:   pulumi.String("/path/dataset1"),
    						Retain: pulumi.String(deviceregistry.TopicRetainTypeKeep),
    					},
    				},
    			},
    			DefaultDatasetsConfiguration: pulumi.String("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"),
    			DefaultEventsConfiguration:   pulumi.String("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"),
    			DefaultTopic: &deviceregistry.TopicArgs{
    				Path:   pulumi.String("/path/defaultTopic"),
    				Retain: pulumi.String(deviceregistry.TopicRetainTypeKeep),
    			},
    			Description:      pulumi.String("This is a sample Asset"),
    			DisplayName:      pulumi.String("AssetDisplayName"),
    			DocumentationUri: pulumi.String("https://www.example.com/manual"),
    			Enabled:          pulumi.Bool(true),
    			Events: deviceregistry.EventArray{
    				&deviceregistry.EventArgs{
    					EventConfiguration: pulumi.String("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"),
    					EventNotifier:      pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"),
    					Name:               pulumi.String("event1"),
    					ObservabilityMode:  pulumi.String(deviceregistry.EventObservabilityModeNone),
    					Topic: &deviceregistry.TopicArgs{
    						Path:   pulumi.String("/path/event1"),
    						Retain: pulumi.String(deviceregistry.TopicRetainTypeKeep),
    					},
    				},
    				&deviceregistry.EventArgs{
    					EventConfiguration: pulumi.String("{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"),
    					EventNotifier:      pulumi.String("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"),
    					Name:               pulumi.String("event2"),
    					ObservabilityMode:  pulumi.String(deviceregistry.EventObservabilityModeLog),
    				},
    			},
    			ExtendedLocation: &deviceregistry.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"),
    				Type: pulumi.String("CustomLocation"),
    			},
    			HardwareRevision:  pulumi.String("1.0"),
    			Location:          pulumi.String("West Europe"),
    			Manufacturer:      pulumi.String("Contoso"),
    			ManufacturerUri:   pulumi.String("https://www.contoso.com/manufacturerUri"),
    			Model:             pulumi.String("ContosoModel"),
    			ProductCode:       pulumi.String("SA34VDG"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			SerialNumber:      pulumi.String("64-103816-519918-8"),
    			SoftwareRevision:  pulumi.String("2.0"),
    			Tags: pulumi.StringMap{
    				"site": pulumi.String("building-1"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.deviceregistry.Asset;
    import com.pulumi.azurenative.deviceregistry.AssetArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.DatasetArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.TopicArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.EventArgs;
    import com.pulumi.azurenative.deviceregistry.inputs.ExtendedLocationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var asset = new Asset("asset", AssetArgs.builder()
                .assetEndpointProfileRef("myAssetEndpointProfile")
                .assetName("my-asset")
                .datasets(DatasetArgs.builder()
                    .dataPoints(                
                        DataPointArgs.builder()
                            .dataPointConfiguration("{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}")
                            .dataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1")
                            .name("dataPoint1")
                            .observabilityMode("Counter")
                            .build(),
                        DataPointArgs.builder()
                            .dataPointConfiguration("{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}")
                            .dataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2")
                            .name("dataPoint2")
                            .observabilityMode("None")
                            .build())
                    .datasetConfiguration("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}")
                    .name("dataset1")
                    .topic(TopicArgs.builder()
                        .path("/path/dataset1")
                        .retain("Keep")
                        .build())
                    .build())
                .defaultDatasetsConfiguration("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}")
                .defaultEventsConfiguration("{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}")
                .defaultTopic(TopicArgs.builder()
                    .path("/path/defaultTopic")
                    .retain("Keep")
                    .build())
                .description("This is a sample Asset")
                .displayName("AssetDisplayName")
                .documentationUri("https://www.example.com/manual")
                .enabled(true)
                .events(            
                    EventArgs.builder()
                        .eventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}")
                        .eventNotifier("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3")
                        .name("event1")
                        .observabilityMode("None")
                        .topic(TopicArgs.builder()
                            .path("/path/event1")
                            .retain("Keep")
                            .build())
                        .build(),
                    EventArgs.builder()
                        .eventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}")
                        .eventNotifier("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4")
                        .name("event2")
                        .observabilityMode("Log")
                        .build())
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1")
                    .type("CustomLocation")
                    .build())
                .hardwareRevision("1.0")
                .location("West Europe")
                .manufacturer("Contoso")
                .manufacturerUri("https://www.contoso.com/manufacturerUri")
                .model("ContosoModel")
                .productCode("SA34VDG")
                .resourceGroupName("myResourceGroup")
                .serialNumber("64-103816-519918-8")
                .softwareRevision("2.0")
                .tags(Map.of("site", "building-1"))
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const asset = new azure_native.deviceregistry.Asset("asset", {
        assetEndpointProfileRef: "myAssetEndpointProfile",
        assetName: "my-asset",
        datasets: [{
            dataPoints: [
                {
                    dataPointConfiguration: "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}",
                    dataSource: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1",
                    name: "dataPoint1",
                    observabilityMode: azure_native.deviceregistry.DataPointObservabilityMode.Counter,
                },
                {
                    dataPointConfiguration: "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}",
                    dataSource: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2",
                    name: "dataPoint2",
                    observabilityMode: azure_native.deviceregistry.DataPointObservabilityMode.None,
                },
            ],
            datasetConfiguration: "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            name: "dataset1",
            topic: {
                path: "/path/dataset1",
                retain: azure_native.deviceregistry.TopicRetainType.Keep,
            },
        }],
        defaultDatasetsConfiguration: "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        defaultEventsConfiguration: "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        defaultTopic: {
            path: "/path/defaultTopic",
            retain: azure_native.deviceregistry.TopicRetainType.Keep,
        },
        description: "This is a sample Asset",
        displayName: "AssetDisplayName",
        documentationUri: "https://www.example.com/manual",
        enabled: true,
        events: [
            {
                eventConfiguration: "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}",
                eventNotifier: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3",
                name: "event1",
                observabilityMode: azure_native.deviceregistry.EventObservabilityMode.None,
                topic: {
                    path: "/path/event1",
                    retain: azure_native.deviceregistry.TopicRetainType.Keep,
                },
            },
            {
                eventConfiguration: "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}",
                eventNotifier: "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4",
                name: "event2",
                observabilityMode: azure_native.deviceregistry.EventObservabilityMode.Log,
            },
        ],
        extendedLocation: {
            name: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
            type: "CustomLocation",
        },
        hardwareRevision: "1.0",
        location: "West Europe",
        manufacturer: "Contoso",
        manufacturerUri: "https://www.contoso.com/manufacturerUri",
        model: "ContosoModel",
        productCode: "SA34VDG",
        resourceGroupName: "myResourceGroup",
        serialNumber: "64-103816-519918-8",
        softwareRevision: "2.0",
        tags: {
            site: "building-1",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    asset = azure_native.deviceregistry.Asset("asset",
        asset_endpoint_profile_ref="myAssetEndpointProfile",
        asset_name="my-asset",
        datasets=[{
            "data_points": [
                {
                    "data_point_configuration": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}",
                    "data_source": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1",
                    "name": "dataPoint1",
                    "observability_mode": azure_native.deviceregistry.DataPointObservabilityMode.COUNTER,
                },
                {
                    "data_point_configuration": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}",
                    "data_source": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2",
                    "name": "dataPoint2",
                    "observability_mode": azure_native.deviceregistry.DataPointObservabilityMode.NONE,
                },
            ],
            "dataset_configuration": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
            "name": "dataset1",
            "topic": {
                "path": "/path/dataset1",
                "retain": azure_native.deviceregistry.TopicRetainType.KEEP,
            },
        }],
        default_datasets_configuration="{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        default_events_configuration="{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}",
        default_topic={
            "path": "/path/defaultTopic",
            "retain": azure_native.deviceregistry.TopicRetainType.KEEP,
        },
        description="This is a sample Asset",
        display_name="AssetDisplayName",
        documentation_uri="https://www.example.com/manual",
        enabled=True,
        events=[
            {
                "event_configuration": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}",
                "event_notifier": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3",
                "name": "event1",
                "observability_mode": azure_native.deviceregistry.EventObservabilityMode.NONE,
                "topic": {
                    "path": "/path/event1",
                    "retain": azure_native.deviceregistry.TopicRetainType.KEEP,
                },
            },
            {
                "event_configuration": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}",
                "event_notifier": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4",
                "name": "event2",
                "observability_mode": azure_native.deviceregistry.EventObservabilityMode.LOG,
            },
        ],
        extended_location={
            "name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
            "type": "CustomLocation",
        },
        hardware_revision="1.0",
        location="West Europe",
        manufacturer="Contoso",
        manufacturer_uri="https://www.contoso.com/manufacturerUri",
        model="ContosoModel",
        product_code="SA34VDG",
        resource_group_name="myResourceGroup",
        serial_number="64-103816-519918-8",
        software_revision="2.0",
        tags={
            "site": "building-1",
        })
    
    resources:
      asset:
        type: azure-native:deviceregistry:Asset
        properties:
          assetEndpointProfileRef: myAssetEndpointProfile
          assetName: my-asset
          datasets:
            - dataPoints:
                - dataPointConfiguration: '{"publishingInterval":8,"samplingInterval":8,"queueSize":4}'
                  dataSource: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1
                  name: dataPoint1
                  observabilityMode: Counter
                - dataPointConfiguration: '{"publishingInterval":4,"samplingInterval":4,"queueSize":7}'
                  dataSource: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2
                  name: dataPoint2
                  observabilityMode: None
              datasetConfiguration: '{"publishingInterval":10,"samplingInterval":15,"queueSize":20}'
              name: dataset1
              topic:
                path: /path/dataset1
                retain: Keep
          defaultDatasetsConfiguration: '{"publishingInterval":10,"samplingInterval":15,"queueSize":20}'
          defaultEventsConfiguration: '{"publishingInterval":10,"samplingInterval":15,"queueSize":20}'
          defaultTopic:
            path: /path/defaultTopic
            retain: Keep
          description: This is a sample Asset
          displayName: AssetDisplayName
          documentationUri: https://www.example.com/manual
          enabled: true
          events:
            - eventConfiguration: '{"publishingInterval":7,"samplingInterval":1,"queueSize":8}'
              eventNotifier: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3
              name: event1
              observabilityMode: None
              topic:
                path: /path/event1
                retain: Keep
            - eventConfiguration: '{"publishingInterval":7,"samplingInterval":8,"queueSize":4}'
              eventNotifier: nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4
              name: event2
              observabilityMode: Log
          extendedLocation:
            name: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1
            type: CustomLocation
          hardwareRevision: '1.0'
          location: West Europe
          manufacturer: Contoso
          manufacturerUri: https://www.contoso.com/manufacturerUri
          model: ContosoModel
          productCode: SA34VDG
          resourceGroupName: myResourceGroup
          serialNumber: 64-103816-519918-8
          softwareRevision: '2.0'
          tags:
            site: building-1
    

    Create Asset Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Asset(name: string, args: AssetArgs, opts?: CustomResourceOptions);
    @overload
    def Asset(resource_name: str,
              args: AssetArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Asset(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              asset_endpoint_profile_ref: Optional[str] = None,
              resource_group_name: Optional[str] = None,
              extended_location: Optional[ExtendedLocationArgs] = None,
              events: Optional[Sequence[EventArgs]] = None,
              external_asset_id: Optional[str] = None,
              default_events_configuration: Optional[str] = None,
              default_topic: Optional[TopicArgs] = None,
              description: Optional[str] = None,
              discovered_asset_refs: Optional[Sequence[str]] = None,
              display_name: Optional[str] = None,
              documentation_uri: Optional[str] = None,
              enabled: Optional[bool] = None,
              datasets: Optional[Sequence[DatasetArgs]] = None,
              attributes: Optional[Any] = None,
              default_datasets_configuration: Optional[str] = None,
              hardware_revision: Optional[str] = None,
              location: Optional[str] = None,
              manufacturer: Optional[str] = None,
              manufacturer_uri: Optional[str] = None,
              model: Optional[str] = None,
              product_code: Optional[str] = None,
              asset_name: Optional[str] = None,
              serial_number: Optional[str] = None,
              software_revision: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = None)
    func NewAsset(ctx *Context, name string, args AssetArgs, opts ...ResourceOption) (*Asset, error)
    public Asset(string name, AssetArgs args, CustomResourceOptions? opts = null)
    public Asset(String name, AssetArgs args)
    public Asset(String name, AssetArgs args, CustomResourceOptions options)
    
    type: azure-native:deviceregistry:Asset
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AssetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AssetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AssetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AssetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AssetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var assetResource = new AzureNative.DeviceRegistry.Asset("assetResource", new()
    {
        AssetEndpointProfileRef = "string",
        ResourceGroupName = "string",
        ExtendedLocation = new AzureNative.DeviceRegistry.Inputs.ExtendedLocationArgs
        {
            Name = "string",
            Type = "string",
        },
        Events = new[]
        {
            new AzureNative.DeviceRegistry.Inputs.EventArgs
            {
                EventNotifier = "string",
                Name = "string",
                EventConfiguration = "string",
                ObservabilityMode = "string",
                Topic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
                {
                    Path = "string",
                    Retain = "string",
                },
            },
        },
        ExternalAssetId = "string",
        DefaultEventsConfiguration = "string",
        DefaultTopic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
        {
            Path = "string",
            Retain = "string",
        },
        Description = "string",
        DiscoveredAssetRefs = new[]
        {
            "string",
        },
        DisplayName = "string",
        DocumentationUri = "string",
        Enabled = false,
        Datasets = new[]
        {
            new AzureNative.DeviceRegistry.Inputs.DatasetArgs
            {
                Name = "string",
                DataPoints = new[]
                {
                    new AzureNative.DeviceRegistry.Inputs.DataPointArgs
                    {
                        DataSource = "string",
                        Name = "string",
                        DataPointConfiguration = "string",
                        ObservabilityMode = "string",
                    },
                },
                DatasetConfiguration = "string",
                Topic = new AzureNative.DeviceRegistry.Inputs.TopicArgs
                {
                    Path = "string",
                    Retain = "string",
                },
            },
        },
        Attributes = "any",
        DefaultDatasetsConfiguration = "string",
        HardwareRevision = "string",
        Location = "string",
        Manufacturer = "string",
        ManufacturerUri = "string",
        Model = "string",
        ProductCode = "string",
        AssetName = "string",
        SerialNumber = "string",
        SoftwareRevision = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := deviceregistry.NewAsset(ctx, "assetResource", &deviceregistry.AssetArgs{
    	AssetEndpointProfileRef: pulumi.String("string"),
    	ResourceGroupName:       pulumi.String("string"),
    	ExtendedLocation: &deviceregistry.ExtendedLocationArgs{
    		Name: pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	Events: deviceregistry.EventArray{
    		&deviceregistry.EventArgs{
    			EventNotifier:      pulumi.String("string"),
    			Name:               pulumi.String("string"),
    			EventConfiguration: pulumi.String("string"),
    			ObservabilityMode:  pulumi.String("string"),
    			Topic: &deviceregistry.TopicArgs{
    				Path:   pulumi.String("string"),
    				Retain: pulumi.String("string"),
    			},
    		},
    	},
    	ExternalAssetId:            pulumi.String("string"),
    	DefaultEventsConfiguration: pulumi.String("string"),
    	DefaultTopic: &deviceregistry.TopicArgs{
    		Path:   pulumi.String("string"),
    		Retain: pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DiscoveredAssetRefs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DisplayName:      pulumi.String("string"),
    	DocumentationUri: pulumi.String("string"),
    	Enabled:          pulumi.Bool(false),
    	Datasets: deviceregistry.DatasetArray{
    		&deviceregistry.DatasetArgs{
    			Name: pulumi.String("string"),
    			DataPoints: deviceregistry.DataPointArray{
    				&deviceregistry.DataPointArgs{
    					DataSource:             pulumi.String("string"),
    					Name:                   pulumi.String("string"),
    					DataPointConfiguration: pulumi.String("string"),
    					ObservabilityMode:      pulumi.String("string"),
    				},
    			},
    			DatasetConfiguration: pulumi.String("string"),
    			Topic: &deviceregistry.TopicArgs{
    				Path:   pulumi.String("string"),
    				Retain: pulumi.String("string"),
    			},
    		},
    	},
    	Attributes:                   pulumi.Any("any"),
    	DefaultDatasetsConfiguration: pulumi.String("string"),
    	HardwareRevision:             pulumi.String("string"),
    	Location:                     pulumi.String("string"),
    	Manufacturer:                 pulumi.String("string"),
    	ManufacturerUri:              pulumi.String("string"),
    	Model:                        pulumi.String("string"),
    	ProductCode:                  pulumi.String("string"),
    	AssetName:                    pulumi.String("string"),
    	SerialNumber:                 pulumi.String("string"),
    	SoftwareRevision:             pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var assetResource = new com.pulumi.azurenative.deviceregistry.Asset("assetResource", com.pulumi.azurenative.deviceregistry.AssetArgs.builder()
        .assetEndpointProfileRef("string")
        .resourceGroupName("string")
        .extendedLocation(ExtendedLocationArgs.builder()
            .name("string")
            .type("string")
            .build())
        .events(EventArgs.builder()
            .eventNotifier("string")
            .name("string")
            .eventConfiguration("string")
            .observabilityMode("string")
            .topic(TopicArgs.builder()
                .path("string")
                .retain("string")
                .build())
            .build())
        .externalAssetId("string")
        .defaultEventsConfiguration("string")
        .defaultTopic(TopicArgs.builder()
            .path("string")
            .retain("string")
            .build())
        .description("string")
        .discoveredAssetRefs("string")
        .displayName("string")
        .documentationUri("string")
        .enabled(false)
        .datasets(DatasetArgs.builder()
            .name("string")
            .dataPoints(DataPointArgs.builder()
                .dataSource("string")
                .name("string")
                .dataPointConfiguration("string")
                .observabilityMode("string")
                .build())
            .datasetConfiguration("string")
            .topic(TopicArgs.builder()
                .path("string")
                .retain("string")
                .build())
            .build())
        .attributes("any")
        .defaultDatasetsConfiguration("string")
        .hardwareRevision("string")
        .location("string")
        .manufacturer("string")
        .manufacturerUri("string")
        .model("string")
        .productCode("string")
        .assetName("string")
        .serialNumber("string")
        .softwareRevision("string")
        .tags(Map.of("string", "string"))
        .build());
    
    asset_resource = azure_native.deviceregistry.Asset("assetResource",
        asset_endpoint_profile_ref="string",
        resource_group_name="string",
        extended_location={
            "name": "string",
            "type": "string",
        },
        events=[{
            "event_notifier": "string",
            "name": "string",
            "event_configuration": "string",
            "observability_mode": "string",
            "topic": {
                "path": "string",
                "retain": "string",
            },
        }],
        external_asset_id="string",
        default_events_configuration="string",
        default_topic={
            "path": "string",
            "retain": "string",
        },
        description="string",
        discovered_asset_refs=["string"],
        display_name="string",
        documentation_uri="string",
        enabled=False,
        datasets=[{
            "name": "string",
            "data_points": [{
                "data_source": "string",
                "name": "string",
                "data_point_configuration": "string",
                "observability_mode": "string",
            }],
            "dataset_configuration": "string",
            "topic": {
                "path": "string",
                "retain": "string",
            },
        }],
        attributes="any",
        default_datasets_configuration="string",
        hardware_revision="string",
        location="string",
        manufacturer="string",
        manufacturer_uri="string",
        model="string",
        product_code="string",
        asset_name="string",
        serial_number="string",
        software_revision="string",
        tags={
            "string": "string",
        })
    
    const assetResource = new azure_native.deviceregistry.Asset("assetResource", {
        assetEndpointProfileRef: "string",
        resourceGroupName: "string",
        extendedLocation: {
            name: "string",
            type: "string",
        },
        events: [{
            eventNotifier: "string",
            name: "string",
            eventConfiguration: "string",
            observabilityMode: "string",
            topic: {
                path: "string",
                retain: "string",
            },
        }],
        externalAssetId: "string",
        defaultEventsConfiguration: "string",
        defaultTopic: {
            path: "string",
            retain: "string",
        },
        description: "string",
        discoveredAssetRefs: ["string"],
        displayName: "string",
        documentationUri: "string",
        enabled: false,
        datasets: [{
            name: "string",
            dataPoints: [{
                dataSource: "string",
                name: "string",
                dataPointConfiguration: "string",
                observabilityMode: "string",
            }],
            datasetConfiguration: "string",
            topic: {
                path: "string",
                retain: "string",
            },
        }],
        attributes: "any",
        defaultDatasetsConfiguration: "string",
        hardwareRevision: "string",
        location: "string",
        manufacturer: "string",
        manufacturerUri: "string",
        model: "string",
        productCode: "string",
        assetName: "string",
        serialNumber: "string",
        softwareRevision: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:deviceregistry:Asset
    properties:
        assetEndpointProfileRef: string
        assetName: string
        attributes: any
        datasets:
            - dataPoints:
                - dataPointConfiguration: string
                  dataSource: string
                  name: string
                  observabilityMode: string
              datasetConfiguration: string
              name: string
              topic:
                path: string
                retain: string
        defaultDatasetsConfiguration: string
        defaultEventsConfiguration: string
        defaultTopic:
            path: string
            retain: string
        description: string
        discoveredAssetRefs:
            - string
        displayName: string
        documentationUri: string
        enabled: false
        events:
            - eventConfiguration: string
              eventNotifier: string
              name: string
              observabilityMode: string
              topic:
                path: string
                retain: string
        extendedLocation:
            name: string
            type: string
        externalAssetId: string
        hardwareRevision: string
        location: string
        manufacturer: string
        manufacturerUri: string
        model: string
        productCode: string
        resourceGroupName: string
        serialNumber: string
        softwareRevision: string
        tags:
            string: string
    

    Asset Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Asset resource accepts the following input properties:

    AssetEndpointProfileRef string
    A reference to the asset endpoint profile (connection information) used by brokers to connect to an endpoint that provides data points for this asset. Must provide asset endpoint profile name.
    ExtendedLocation Pulumi.AzureNative.DeviceRegistry.Inputs.ExtendedLocation
    The extended location.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AssetName string
    Asset name parameter.
    Attributes object
    A set of key-value pairs that contain custom attributes set by the customer.
    Datasets List<Pulumi.AzureNative.DeviceRegistry.Inputs.Dataset>
    Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.
    DefaultDatasetsConfiguration string
    Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.
    DefaultEventsConfiguration string
    Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.
    DefaultTopic Pulumi.AzureNative.DeviceRegistry.Inputs.Topic
    Object that describes the default topic information for the asset.
    Description string
    Human-readable description of the asset.
    DiscoveredAssetRefs List<string>
    Reference to a list of discovered assets. Populated only if the asset has been created from discovery flow. Discovered asset names must be provided.
    DisplayName string
    Human-readable display name.
    DocumentationUri string
    Reference to the documentation.
    Enabled bool
    Enabled/Disabled status of the asset.
    Events List<Pulumi.AzureNative.DeviceRegistry.Inputs.Event>
    Array of events that are part of the asset. Each event can have per-event configuration.
    ExternalAssetId string
    Asset id provided by the customer.
    HardwareRevision string
    Revision number of the hardware.
    Location string
    The geo-location where the resource lives
    Manufacturer string
    Asset manufacturer name.
    ManufacturerUri string
    Asset manufacturer URI.
    Model string
    Asset model name.
    ProductCode string
    Asset product code.
    SerialNumber string
    Asset serial number.
    SoftwareRevision string
    Revision number of the software.
    Tags Dictionary<string, string>
    Resource tags.
    AssetEndpointProfileRef string
    A reference to the asset endpoint profile (connection information) used by brokers to connect to an endpoint that provides data points for this asset. Must provide asset endpoint profile name.
    ExtendedLocation ExtendedLocationArgs
    The extended location.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AssetName string
    Asset name parameter.
    Attributes interface{}
    A set of key-value pairs that contain custom attributes set by the customer.
    Datasets []DatasetArgs
    Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.
    DefaultDatasetsConfiguration string
    Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.
    DefaultEventsConfiguration string
    Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.
    DefaultTopic TopicArgs
    Object that describes the default topic information for the asset.
    Description string
    Human-readable description of the asset.
    DiscoveredAssetRefs []string
    Reference to a list of discovered assets. Populated only if the asset has been created from discovery flow. Discovered asset names must be provided.
    DisplayName string
    Human-readable display name.
    DocumentationUri string
    Reference to the documentation.
    Enabled bool
    Enabled/Disabled status of the asset.
    Events []EventArgs
    Array of events that are part of the asset. Each event can have per-event configuration.
    ExternalAssetId string
    Asset id provided by the customer.
    HardwareRevision string
    Revision number of the hardware.
    Location string
    The geo-location where the resource lives
    Manufacturer string
    Asset manufacturer name.
    ManufacturerUri string
    Asset manufacturer URI.
    Model string
    Asset model name.
    ProductCode string
    Asset product code.
    SerialNumber string
    Asset serial number.
    SoftwareRevision string
    Revision number of the software.
    Tags map[string]string
    Resource tags.
    assetEndpointProfileRef String
    A reference to the asset endpoint profile (connection information) used by brokers to connect to an endpoint that provides data points for this asset. Must provide asset endpoint profile name.
    extendedLocation ExtendedLocation
    The extended location.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    assetName String
    Asset name parameter.
    attributes Object
    A set of key-value pairs that contain custom attributes set by the customer.
    datasets List<Dataset>
    Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.
    defaultDatasetsConfiguration String
    Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.
    defaultEventsConfiguration String
    Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.
    defaultTopic Topic
    Object that describes the default topic information for the asset.
    description String
    Human-readable description of the asset.
    discoveredAssetRefs List<String>
    Reference to a list of discovered assets. Populated only if the asset has been created from discovery flow. Discovered asset names must be provided.
    displayName String
    Human-readable display name.
    documentationUri String
    Reference to the documentation.
    enabled Boolean
    Enabled/Disabled status of the asset.
    events List<Event>
    Array of events that are part of the asset. Each event can have per-event configuration.
    externalAssetId String
    Asset id provided by the customer.
    hardwareRevision String
    Revision number of the hardware.
    location String
    The geo-location where the resource lives
    manufacturer String
    Asset manufacturer name.
    manufacturerUri String
    Asset manufacturer URI.
    model String
    Asset model name.
    productCode String
    Asset product code.
    serialNumber String
    Asset serial number.
    softwareRevision String
    Revision number of the software.
    tags Map<String,String>
    Resource tags.
    assetEndpointProfileRef string
    A reference to the asset endpoint profile (connection information) used by brokers to connect to an endpoint that provides data points for this asset. Must provide asset endpoint profile name.
    extendedLocation ExtendedLocation
    The extended location.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    assetName string
    Asset name parameter.
    attributes any
    A set of key-value pairs that contain custom attributes set by the customer.
    datasets Dataset[]
    Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.
    defaultDatasetsConfiguration string
    Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.
    defaultEventsConfiguration string
    Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.
    defaultTopic Topic
    Object that describes the default topic information for the asset.
    description string
    Human-readable description of the asset.
    discoveredAssetRefs string[]
    Reference to a list of discovered assets. Populated only if the asset has been created from discovery flow. Discovered asset names must be provided.
    displayName string
    Human-readable display name.
    documentationUri string
    Reference to the documentation.
    enabled boolean
    Enabled/Disabled status of the asset.
    events Event[]
    Array of events that are part of the asset. Each event can have per-event configuration.
    externalAssetId string
    Asset id provided by the customer.
    hardwareRevision string
    Revision number of the hardware.
    location string
    The geo-location where the resource lives
    manufacturer string
    Asset manufacturer name.
    manufacturerUri string
    Asset manufacturer URI.
    model string
    Asset model name.
    productCode string
    Asset product code.
    serialNumber string
    Asset serial number.
    softwareRevision string
    Revision number of the software.
    tags {[key: string]: string}
    Resource tags.
    asset_endpoint_profile_ref str
    A reference to the asset endpoint profile (connection information) used by brokers to connect to an endpoint that provides data points for this asset. Must provide asset endpoint profile name.
    extended_location ExtendedLocationArgs
    The extended location.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    asset_name str
    Asset name parameter.
    attributes Any
    A set of key-value pairs that contain custom attributes set by the customer.
    datasets Sequence[DatasetArgs]
    Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.
    default_datasets_configuration str
    Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.
    default_events_configuration str
    Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.
    default_topic TopicArgs
    Object that describes the default topic information for the asset.
    description str
    Human-readable description of the asset.
    discovered_asset_refs Sequence[str]
    Reference to a list of discovered assets. Populated only if the asset has been created from discovery flow. Discovered asset names must be provided.
    display_name str
    Human-readable display name.
    documentation_uri str
    Reference to the documentation.
    enabled bool
    Enabled/Disabled status of the asset.
    events Sequence[EventArgs]
    Array of events that are part of the asset. Each event can have per-event configuration.
    external_asset_id str
    Asset id provided by the customer.
    hardware_revision str
    Revision number of the hardware.
    location str
    The geo-location where the resource lives
    manufacturer str
    Asset manufacturer name.
    manufacturer_uri str
    Asset manufacturer URI.
    model str
    Asset model name.
    product_code str
    Asset product code.
    serial_number str
    Asset serial number.
    software_revision str
    Revision number of the software.
    tags Mapping[str, str]
    Resource tags.
    assetEndpointProfileRef String
    A reference to the asset endpoint profile (connection information) used by brokers to connect to an endpoint that provides data points for this asset. Must provide asset endpoint profile name.
    extendedLocation Property Map
    The extended location.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    assetName String
    Asset name parameter.
    attributes Any
    A set of key-value pairs that contain custom attributes set by the customer.
    datasets List<Property Map>
    Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.
    defaultDatasetsConfiguration String
    Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.
    defaultEventsConfiguration String
    Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.
    defaultTopic Property Map
    Object that describes the default topic information for the asset.
    description String
    Human-readable description of the asset.
    discoveredAssetRefs List<String>
    Reference to a list of discovered assets. Populated only if the asset has been created from discovery flow. Discovered asset names must be provided.
    displayName String
    Human-readable display name.
    documentationUri String
    Reference to the documentation.
    enabled Boolean
    Enabled/Disabled status of the asset.
    events List<Property Map>
    Array of events that are part of the asset. Each event can have per-event configuration.
    externalAssetId String
    Asset id provided by the customer.
    hardwareRevision String
    Revision number of the hardware.
    location String
    The geo-location where the resource lives
    manufacturer String
    Asset manufacturer name.
    manufacturerUri String
    Asset manufacturer URI.
    model String
    Asset model name.
    productCode String
    Asset product code.
    serialNumber String
    Asset serial number.
    softwareRevision String
    Revision number of the software.
    tags Map<String>
    Resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Asset resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning state of the resource.
    Status Pulumi.AzureNative.DeviceRegistry.Outputs.AssetStatusResponse
    Read only object to reflect changes that have occurred on the Edge. Similar to Kubernetes status property for custom resources.
    SystemData Pulumi.AzureNative.DeviceRegistry.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Uuid string
    Globally unique, immutable, non-reusable id.
    Version double
    An integer that is incremented each time the resource is modified.
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning state of the resource.
    Status AssetStatusResponse
    Read only object to reflect changes that have occurred on the Edge. Similar to Kubernetes status property for custom resources.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Uuid string
    Globally unique, immutable, non-reusable id.
    Version float64
    An integer that is incremented each time the resource is modified.
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Provisioning state of the resource.
    status AssetStatusResponse
    Read only object to reflect changes that have occurred on the Edge. Similar to Kubernetes status property for custom resources.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uuid String
    Globally unique, immutable, non-reusable id.
    version Double
    An integer that is incremented each time the resource is modified.
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    provisioningState string
    Provisioning state of the resource.
    status AssetStatusResponse
    Read only object to reflect changes that have occurred on the Edge. Similar to Kubernetes status property for custom resources.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uuid string
    Globally unique, immutable, non-reusable id.
    version number
    An integer that is incremented each time the resource is modified.
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    Provisioning state of the resource.
    status AssetStatusResponse
    Read only object to reflect changes that have occurred on the Edge. Similar to Kubernetes status property for custom resources.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uuid str
    Globally unique, immutable, non-reusable id.
    version float
    An integer that is incremented each time the resource is modified.
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Provisioning state of the resource.
    status Property Map
    Read only object to reflect changes that have occurred on the Edge. Similar to Kubernetes status property for custom resources.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uuid String
    Globally unique, immutable, non-reusable id.
    version Number
    An integer that is incremented each time the resource is modified.

    Supporting Types

    AssetStatusDatasetResponse, AssetStatusDatasetResponseArgs

    MessageSchemaReference Pulumi.AzureNative.DeviceRegistry.Inputs.MessageSchemaReferenceResponse
    The message schema reference object.
    Name string
    The name of the dataset. Must be unique within the status.datasets array. This name is used to correlate between the spec and status dataset information.
    MessageSchemaReference MessageSchemaReferenceResponse
    The message schema reference object.
    Name string
    The name of the dataset. Must be unique within the status.datasets array. This name is used to correlate between the spec and status dataset information.
    messageSchemaReference MessageSchemaReferenceResponse
    The message schema reference object.
    name String
    The name of the dataset. Must be unique within the status.datasets array. This name is used to correlate between the spec and status dataset information.
    messageSchemaReference MessageSchemaReferenceResponse
    The message schema reference object.
    name string
    The name of the dataset. Must be unique within the status.datasets array. This name is used to correlate between the spec and status dataset information.
    message_schema_reference MessageSchemaReferenceResponse
    The message schema reference object.
    name str
    The name of the dataset. Must be unique within the status.datasets array. This name is used to correlate between the spec and status dataset information.
    messageSchemaReference Property Map
    The message schema reference object.
    name String
    The name of the dataset. Must be unique within the status.datasets array. This name is used to correlate between the spec and status dataset information.

    AssetStatusErrorResponse, AssetStatusErrorResponseArgs

    Code int
    Error code for classification of errors (ex: 400, 404, 500, etc.).
    Message string
    Human readable helpful error message to provide additional context for error (ex: “capability Id 'foo' does not exist”).
    Code int
    Error code for classification of errors (ex: 400, 404, 500, etc.).
    Message string
    Human readable helpful error message to provide additional context for error (ex: “capability Id 'foo' does not exist”).
    code Integer
    Error code for classification of errors (ex: 400, 404, 500, etc.).
    message String
    Human readable helpful error message to provide additional context for error (ex: “capability Id 'foo' does not exist”).
    code number
    Error code for classification of errors (ex: 400, 404, 500, etc.).
    message string
    Human readable helpful error message to provide additional context for error (ex: “capability Id 'foo' does not exist”).
    code int
    Error code for classification of errors (ex: 400, 404, 500, etc.).
    message str
    Human readable helpful error message to provide additional context for error (ex: “capability Id 'foo' does not exist”).
    code Number
    Error code for classification of errors (ex: 400, 404, 500, etc.).
    message String
    Human readable helpful error message to provide additional context for error (ex: “capability Id 'foo' does not exist”).

    AssetStatusEventResponse, AssetStatusEventResponseArgs

    MessageSchemaReference Pulumi.AzureNative.DeviceRegistry.Inputs.MessageSchemaReferenceResponse
    The message schema reference object.
    Name string
    The name of the event. Must be unique within the status.events array. This name is used to correlate between the spec and status event information.
    MessageSchemaReference MessageSchemaReferenceResponse
    The message schema reference object.
    Name string
    The name of the event. Must be unique within the status.events array. This name is used to correlate between the spec and status event information.
    messageSchemaReference MessageSchemaReferenceResponse
    The message schema reference object.
    name String
    The name of the event. Must be unique within the status.events array. This name is used to correlate between the spec and status event information.
    messageSchemaReference MessageSchemaReferenceResponse
    The message schema reference object.
    name string
    The name of the event. Must be unique within the status.events array. This name is used to correlate between the spec and status event information.
    message_schema_reference MessageSchemaReferenceResponse
    The message schema reference object.
    name str
    The name of the event. Must be unique within the status.events array. This name is used to correlate between the spec and status event information.
    messageSchemaReference Property Map
    The message schema reference object.
    name String
    The name of the event. Must be unique within the status.events array. This name is used to correlate between the spec and status event information.

    AssetStatusResponse, AssetStatusResponseArgs

    Datasets List<Pulumi.AzureNative.DeviceRegistry.Inputs.AssetStatusDatasetResponse>
    Array of dataset statuses that describe the status of each dataset.
    Errors List<Pulumi.AzureNative.DeviceRegistry.Inputs.AssetStatusErrorResponse>
    Array object to transfer and persist errors that originate from the Edge.
    Events List<Pulumi.AzureNative.DeviceRegistry.Inputs.AssetStatusEventResponse>
    Array of event statuses that describe the status of each event.
    Version double
    A read only incremental counter indicating the number of times the configuration has been modified from the perspective of the current actual (Edge) state of the Asset. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.
    Datasets []AssetStatusDatasetResponse
    Array of dataset statuses that describe the status of each dataset.
    Errors []AssetStatusErrorResponse
    Array object to transfer and persist errors that originate from the Edge.
    Events []AssetStatusEventResponse
    Array of event statuses that describe the status of each event.
    Version float64
    A read only incremental counter indicating the number of times the configuration has been modified from the perspective of the current actual (Edge) state of the Asset. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.
    datasets List<AssetStatusDatasetResponse>
    Array of dataset statuses that describe the status of each dataset.
    errors List<AssetStatusErrorResponse>
    Array object to transfer and persist errors that originate from the Edge.
    events List<AssetStatusEventResponse>
    Array of event statuses that describe the status of each event.
    version Double
    A read only incremental counter indicating the number of times the configuration has been modified from the perspective of the current actual (Edge) state of the Asset. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.
    datasets AssetStatusDatasetResponse[]
    Array of dataset statuses that describe the status of each dataset.
    errors AssetStatusErrorResponse[]
    Array object to transfer and persist errors that originate from the Edge.
    events AssetStatusEventResponse[]
    Array of event statuses that describe the status of each event.
    version number
    A read only incremental counter indicating the number of times the configuration has been modified from the perspective of the current actual (Edge) state of the Asset. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.
    datasets Sequence[AssetStatusDatasetResponse]
    Array of dataset statuses that describe the status of each dataset.
    errors Sequence[AssetStatusErrorResponse]
    Array object to transfer and persist errors that originate from the Edge.
    events Sequence[AssetStatusEventResponse]
    Array of event statuses that describe the status of each event.
    version float
    A read only incremental counter indicating the number of times the configuration has been modified from the perspective of the current actual (Edge) state of the Asset. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.
    datasets List<Property Map>
    Array of dataset statuses that describe the status of each dataset.
    errors List<Property Map>
    Array object to transfer and persist errors that originate from the Edge.
    events List<Property Map>
    Array of event statuses that describe the status of each event.
    version Number
    A read only incremental counter indicating the number of times the configuration has been modified from the perspective of the current actual (Edge) state of the Asset. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.

    DataPoint, DataPointArgs

    DataSource string
    The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
    Name string
    The name of the data point.
    DataPointConfiguration string
    Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    ObservabilityMode string | Pulumi.AzureNative.DeviceRegistry.DataPointObservabilityMode
    An indication of how the data point should be mapped to OpenTelemetry.
    DataSource string
    The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
    Name string
    The name of the data point.
    DataPointConfiguration string
    Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    ObservabilityMode string | DataPointObservabilityMode
    An indication of how the data point should be mapped to OpenTelemetry.
    dataSource String
    The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
    name String
    The name of the data point.
    dataPointConfiguration String
    Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observabilityMode String | DataPointObservabilityMode
    An indication of how the data point should be mapped to OpenTelemetry.
    dataSource string
    The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
    name string
    The name of the data point.
    dataPointConfiguration string
    Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observabilityMode string | DataPointObservabilityMode
    An indication of how the data point should be mapped to OpenTelemetry.
    data_source str
    The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
    name str
    The name of the data point.
    data_point_configuration str
    Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observability_mode str | DataPointObservabilityMode
    An indication of how the data point should be mapped to OpenTelemetry.
    dataSource String
    The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
    name String
    The name of the data point.
    dataPointConfiguration String
    Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observabilityMode String | "None" | "Counter" | "Gauge" | "Histogram" | "Log"
    An indication of how the data point should be mapped to OpenTelemetry.

    DataPointObservabilityMode, DataPointObservabilityModeArgs

    None
    NoneNo mapping to OpenTelemetry.
    Counter
    CounterMap as counter to OpenTelemetry.
    Gauge
    GaugeMap as gauge to OpenTelemetry.
    Histogram
    HistogramMap as histogram to OpenTelemetry.
    Log
    LogMap as log to OpenTelemetry.
    DataPointObservabilityModeNone
    NoneNo mapping to OpenTelemetry.
    DataPointObservabilityModeCounter
    CounterMap as counter to OpenTelemetry.
    DataPointObservabilityModeGauge
    GaugeMap as gauge to OpenTelemetry.
    DataPointObservabilityModeHistogram
    HistogramMap as histogram to OpenTelemetry.
    DataPointObservabilityModeLog
    LogMap as log to OpenTelemetry.
    None
    NoneNo mapping to OpenTelemetry.
    Counter
    CounterMap as counter to OpenTelemetry.
    Gauge
    GaugeMap as gauge to OpenTelemetry.
    Histogram
    HistogramMap as histogram to OpenTelemetry.
    Log
    LogMap as log to OpenTelemetry.
    None
    NoneNo mapping to OpenTelemetry.
    Counter
    CounterMap as counter to OpenTelemetry.
    Gauge
    GaugeMap as gauge to OpenTelemetry.
    Histogram
    HistogramMap as histogram to OpenTelemetry.
    Log
    LogMap as log to OpenTelemetry.
    NONE
    NoneNo mapping to OpenTelemetry.
    COUNTER
    CounterMap as counter to OpenTelemetry.
    GAUGE
    GaugeMap as gauge to OpenTelemetry.
    HISTOGRAM
    HistogramMap as histogram to OpenTelemetry.
    LOG
    LogMap as log to OpenTelemetry.
    "None"
    NoneNo mapping to OpenTelemetry.
    "Counter"
    CounterMap as counter to OpenTelemetry.
    "Gauge"
    GaugeMap as gauge to OpenTelemetry.
    "Histogram"
    HistogramMap as histogram to OpenTelemetry.
    "Log"
    LogMap as log to OpenTelemetry.

    DataPointResponse, DataPointResponseArgs

    DataSource string
    The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
    Name string
    The name of the data point.
    DataPointConfiguration string
    Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    ObservabilityMode string
    An indication of how the data point should be mapped to OpenTelemetry.
    DataSource string
    The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
    Name string
    The name of the data point.
    DataPointConfiguration string
    Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    ObservabilityMode string
    An indication of how the data point should be mapped to OpenTelemetry.
    dataSource String
    The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
    name String
    The name of the data point.
    dataPointConfiguration String
    Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observabilityMode String
    An indication of how the data point should be mapped to OpenTelemetry.
    dataSource string
    The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
    name string
    The name of the data point.
    dataPointConfiguration string
    Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observabilityMode string
    An indication of how the data point should be mapped to OpenTelemetry.
    data_source str
    The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
    name str
    The name of the data point.
    data_point_configuration str
    Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observability_mode str
    An indication of how the data point should be mapped to OpenTelemetry.
    dataSource String
    The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
    name String
    The name of the data point.
    dataPointConfiguration String
    Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observabilityMode String
    An indication of how the data point should be mapped to OpenTelemetry.

    Dataset, DatasetArgs

    Name string
    Name of the dataset.
    DataPoints List<Pulumi.AzureNative.DeviceRegistry.Inputs.DataPoint>
    Array of data points that are part of the dataset. Each data point can have per-data point configuration.
    DatasetConfiguration string
    Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.
    Topic Pulumi.AzureNative.DeviceRegistry.Inputs.Topic
    Object that describes the topic information for the specific dataset.
    Name string
    Name of the dataset.
    DataPoints []DataPoint
    Array of data points that are part of the dataset. Each data point can have per-data point configuration.
    DatasetConfiguration string
    Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.
    Topic Topic
    Object that describes the topic information for the specific dataset.
    name String
    Name of the dataset.
    dataPoints List<DataPoint>
    Array of data points that are part of the dataset. Each data point can have per-data point configuration.
    datasetConfiguration String
    Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.
    topic Topic
    Object that describes the topic information for the specific dataset.
    name string
    Name of the dataset.
    dataPoints DataPoint[]
    Array of data points that are part of the dataset. Each data point can have per-data point configuration.
    datasetConfiguration string
    Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.
    topic Topic
    Object that describes the topic information for the specific dataset.
    name str
    Name of the dataset.
    data_points Sequence[DataPoint]
    Array of data points that are part of the dataset. Each data point can have per-data point configuration.
    dataset_configuration str
    Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.
    topic Topic
    Object that describes the topic information for the specific dataset.
    name String
    Name of the dataset.
    dataPoints List<Property Map>
    Array of data points that are part of the dataset. Each data point can have per-data point configuration.
    datasetConfiguration String
    Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.
    topic Property Map
    Object that describes the topic information for the specific dataset.

    DatasetResponse, DatasetResponseArgs

    Name string
    Name of the dataset.
    DataPoints List<Pulumi.AzureNative.DeviceRegistry.Inputs.DataPointResponse>
    Array of data points that are part of the dataset. Each data point can have per-data point configuration.
    DatasetConfiguration string
    Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.
    Topic Pulumi.AzureNative.DeviceRegistry.Inputs.TopicResponse
    Object that describes the topic information for the specific dataset.
    Name string
    Name of the dataset.
    DataPoints []DataPointResponse
    Array of data points that are part of the dataset. Each data point can have per-data point configuration.
    DatasetConfiguration string
    Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.
    Topic TopicResponse
    Object that describes the topic information for the specific dataset.
    name String
    Name of the dataset.
    dataPoints List<DataPointResponse>
    Array of data points that are part of the dataset. Each data point can have per-data point configuration.
    datasetConfiguration String
    Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.
    topic TopicResponse
    Object that describes the topic information for the specific dataset.
    name string
    Name of the dataset.
    dataPoints DataPointResponse[]
    Array of data points that are part of the dataset. Each data point can have per-data point configuration.
    datasetConfiguration string
    Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.
    topic TopicResponse
    Object that describes the topic information for the specific dataset.
    name str
    Name of the dataset.
    data_points Sequence[DataPointResponse]
    Array of data points that are part of the dataset. Each data point can have per-data point configuration.
    dataset_configuration str
    Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.
    topic TopicResponse
    Object that describes the topic information for the specific dataset.
    name String
    Name of the dataset.
    dataPoints List<Property Map>
    Array of data points that are part of the dataset. Each data point can have per-data point configuration.
    datasetConfiguration String
    Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.
    topic Property Map
    Object that describes the topic information for the specific dataset.

    Event, EventArgs

    EventNotifier string
    The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
    Name string
    The name of the event.
    EventConfiguration string
    Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    ObservabilityMode string | Pulumi.AzureNative.DeviceRegistry.EventObservabilityMode
    An indication of how the event should be mapped to OpenTelemetry.
    Topic Pulumi.AzureNative.DeviceRegistry.Inputs.Topic
    Object that describes the topic information for the specific event.
    EventNotifier string
    The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
    Name string
    The name of the event.
    EventConfiguration string
    Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    ObservabilityMode string | EventObservabilityMode
    An indication of how the event should be mapped to OpenTelemetry.
    Topic Topic
    Object that describes the topic information for the specific event.
    eventNotifier String
    The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
    name String
    The name of the event.
    eventConfiguration String
    Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observabilityMode String | EventObservabilityMode
    An indication of how the event should be mapped to OpenTelemetry.
    topic Topic
    Object that describes the topic information for the specific event.
    eventNotifier string
    The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
    name string
    The name of the event.
    eventConfiguration string
    Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observabilityMode string | EventObservabilityMode
    An indication of how the event should be mapped to OpenTelemetry.
    topic Topic
    Object that describes the topic information for the specific event.
    event_notifier str
    The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
    name str
    The name of the event.
    event_configuration str
    Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observability_mode str | EventObservabilityMode
    An indication of how the event should be mapped to OpenTelemetry.
    topic Topic
    Object that describes the topic information for the specific event.
    eventNotifier String
    The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
    name String
    The name of the event.
    eventConfiguration String
    Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observabilityMode String | "None" | "Log"
    An indication of how the event should be mapped to OpenTelemetry.
    topic Property Map
    Object that describes the topic information for the specific event.

    EventObservabilityMode, EventObservabilityModeArgs

    None
    NoneNo mapping to OpenTelemetry.
    Log
    LogMap as log to OpenTelemetry.
    EventObservabilityModeNone
    NoneNo mapping to OpenTelemetry.
    EventObservabilityModeLog
    LogMap as log to OpenTelemetry.
    None
    NoneNo mapping to OpenTelemetry.
    Log
    LogMap as log to OpenTelemetry.
    None
    NoneNo mapping to OpenTelemetry.
    Log
    LogMap as log to OpenTelemetry.
    NONE
    NoneNo mapping to OpenTelemetry.
    LOG
    LogMap as log to OpenTelemetry.
    "None"
    NoneNo mapping to OpenTelemetry.
    "Log"
    LogMap as log to OpenTelemetry.

    EventResponse, EventResponseArgs

    EventNotifier string
    The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
    Name string
    The name of the event.
    EventConfiguration string
    Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    ObservabilityMode string
    An indication of how the event should be mapped to OpenTelemetry.
    Topic Pulumi.AzureNative.DeviceRegistry.Inputs.TopicResponse
    Object that describes the topic information for the specific event.
    EventNotifier string
    The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
    Name string
    The name of the event.
    EventConfiguration string
    Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    ObservabilityMode string
    An indication of how the event should be mapped to OpenTelemetry.
    Topic TopicResponse
    Object that describes the topic information for the specific event.
    eventNotifier String
    The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
    name String
    The name of the event.
    eventConfiguration String
    Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observabilityMode String
    An indication of how the event should be mapped to OpenTelemetry.
    topic TopicResponse
    Object that describes the topic information for the specific event.
    eventNotifier string
    The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
    name string
    The name of the event.
    eventConfiguration string
    Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observabilityMode string
    An indication of how the event should be mapped to OpenTelemetry.
    topic TopicResponse
    Object that describes the topic information for the specific event.
    event_notifier str
    The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
    name str
    The name of the event.
    event_configuration str
    Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observability_mode str
    An indication of how the event should be mapped to OpenTelemetry.
    topic TopicResponse
    Object that describes the topic information for the specific event.
    eventNotifier String
    The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
    name String
    The name of the event.
    eventConfiguration String
    Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
    observabilityMode String
    An indication of how the event should be mapped to OpenTelemetry.
    topic Property Map
    Object that describes the topic information for the specific event.

    ExtendedLocation, ExtendedLocationArgs

    Name string
    The extended location name.
    Type string
    The extended location type.
    Name string
    The extended location name.
    Type string
    The extended location type.
    name String
    The extended location name.
    type String
    The extended location type.
    name string
    The extended location name.
    type string
    The extended location type.
    name str
    The extended location name.
    type str
    The extended location type.
    name String
    The extended location name.
    type String
    The extended location type.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Name string
    The extended location name.
    Type string
    The extended location type.
    Name string
    The extended location name.
    Type string
    The extended location type.
    name String
    The extended location name.
    type String
    The extended location type.
    name string
    The extended location name.
    type string
    The extended location type.
    name str
    The extended location name.
    type str
    The extended location type.
    name String
    The extended location name.
    type String
    The extended location type.

    MessageSchemaReferenceResponse, MessageSchemaReferenceResponseArgs

    SchemaName string
    The message schema name.
    SchemaRegistryNamespace string
    The message schema registry namespace.
    SchemaVersion string
    The message schema version.
    SchemaName string
    The message schema name.
    SchemaRegistryNamespace string
    The message schema registry namespace.
    SchemaVersion string
    The message schema version.
    schemaName String
    The message schema name.
    schemaRegistryNamespace String
    The message schema registry namespace.
    schemaVersion String
    The message schema version.
    schemaName string
    The message schema name.
    schemaRegistryNamespace string
    The message schema registry namespace.
    schemaVersion string
    The message schema version.
    schema_name str
    The message schema name.
    schema_registry_namespace str
    The message schema registry namespace.
    schema_version str
    The message schema version.
    schemaName String
    The message schema name.
    schemaRegistryNamespace String
    The message schema registry namespace.
    schemaVersion String
    The message schema version.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Topic, TopicArgs

    Path string
    The topic path for messages published to an MQTT broker.
    Retain string | Pulumi.AzureNative.DeviceRegistry.TopicRetainType
    When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.
    Path string
    The topic path for messages published to an MQTT broker.
    Retain string | TopicRetainType
    When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.
    path String
    The topic path for messages published to an MQTT broker.
    retain String | TopicRetainType
    When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.
    path string
    The topic path for messages published to an MQTT broker.
    retain string | TopicRetainType
    When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.
    path str
    The topic path for messages published to an MQTT broker.
    retain str | TopicRetainType
    When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.
    path String
    The topic path for messages published to an MQTT broker.
    retain String | "Keep" | "Never"
    When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.

    TopicResponse, TopicResponseArgs

    Path string
    The topic path for messages published to an MQTT broker.
    Retain string
    When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.
    Path string
    The topic path for messages published to an MQTT broker.
    Retain string
    When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.
    path String
    The topic path for messages published to an MQTT broker.
    retain String
    When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.
    path string
    The topic path for messages published to an MQTT broker.
    retain string
    When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.
    path str
    The topic path for messages published to an MQTT broker.
    retain str
    When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.
    path String
    The topic path for messages published to an MQTT broker.
    retain String
    When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.

    TopicRetainType, TopicRetainTypeArgs

    Keep
    KeepRetain the messages.
    Never
    NeverNever retain messages.
    TopicRetainTypeKeep
    KeepRetain the messages.
    TopicRetainTypeNever
    NeverNever retain messages.
    Keep
    KeepRetain the messages.
    Never
    NeverNever retain messages.
    Keep
    KeepRetain the messages.
    Never
    NeverNever retain messages.
    KEEP
    KeepRetain the messages.
    NEVER
    NeverNever retain messages.
    "Keep"
    KeepRetain the messages.
    "Never"
    NeverNever retain messages.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:deviceregistry:Asset my-asset /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi