azure-native.deviceregistry.NamespaceDevice
Explore with Pulumi AI
Device definition.
Uses Azure REST API version 2025-07-01-preview.
Example Usage
Create edge enabled device with UsernamesPassword inbound authentication.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var namespaceDevice = new AzureNative.DeviceRegistry.NamespaceDevice("namespaceDevice", new()
{
Attributes = new Dictionary<string, object?>
{
["deviceCategory"] = 16,
["deviceOwner"] = "IT",
["deviceType"] = "sensor",
},
DeviceName = "namespace-device-on-edge",
Enabled = true,
Endpoints = new AzureNative.DeviceRegistry.Inputs.MessagingEndpointsArgs
{
Inbound =
{
{ "theOnlyOPCUABroker", new AzureNative.DeviceRegistry.Inputs.InboundEndpointsArgs
{
Address = "opc.tcp://192.168.86.23:51211/UA/SampleServer",
Authentication = new AzureNative.DeviceRegistry.Inputs.HostAuthenticationArgs
{
Method = AzureNative.DeviceRegistry.AuthenticationMethod.UsernamePassword,
UsernamePasswordCredentials = new AzureNative.DeviceRegistry.Inputs.UsernamePasswordCredentialsArgs
{
PasswordSecretName = "pwd-ref",
UsernameSecretName = "user-ref",
},
},
EndpointType = "microsoft.opcua/v1",
Version = "2",
} },
},
},
ExtendedLocation = new AzureNative.DeviceRegistry.Inputs.ExtendedLocationArgs
{
Name = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
Type = "CustomLocation",
},
ExternalDeviceId = "unique-edge-device-identifier",
Location = "West Europe",
NamespaceName = "adr-namespace-gbk0925-n01",
ResourceGroupName = "myResourceGroup",
});
});
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.NewNamespaceDevice(ctx, "namespaceDevice", &deviceregistry.NamespaceDeviceArgs{
Attributes: pulumi.Any(map[string]interface{}{
"deviceCategory": 16,
"deviceOwner": "IT",
"deviceType": "sensor",
}),
DeviceName: pulumi.String("namespace-device-on-edge"),
Enabled: pulumi.Bool(true),
Endpoints: &deviceregistry.MessagingEndpointsArgs{
Inbound: deviceregistry.InboundEndpointsMap{
"theOnlyOPCUABroker": &deviceregistry.InboundEndpointsArgs{
Address: pulumi.String("opc.tcp://192.168.86.23:51211/UA/SampleServer"),
Authentication: &deviceregistry.HostAuthenticationArgs{
Method: pulumi.String(deviceregistry.AuthenticationMethodUsernamePassword),
UsernamePasswordCredentials: &deviceregistry.UsernamePasswordCredentialsArgs{
PasswordSecretName: pulumi.String("pwd-ref"),
UsernameSecretName: pulumi.String("user-ref"),
},
},
EndpointType: pulumi.String("microsoft.opcua/v1"),
Version: pulumi.String("2"),
},
},
},
ExtendedLocation: &deviceregistry.ExtendedLocationArgs{
Name: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"),
Type: pulumi.String("CustomLocation"),
},
ExternalDeviceId: pulumi.String("unique-edge-device-identifier"),
Location: pulumi.String("West Europe"),
NamespaceName: pulumi.String("adr-namespace-gbk0925-n01"),
ResourceGroupName: pulumi.String("myResourceGroup"),
})
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.NamespaceDevice;
import com.pulumi.azurenative.deviceregistry.NamespaceDeviceArgs;
import com.pulumi.azurenative.deviceregistry.inputs.MessagingEndpointsArgs;
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 namespaceDevice = new NamespaceDevice("namespaceDevice", NamespaceDeviceArgs.builder()
.attributes(Map.ofEntries(
Map.entry("deviceCategory", 16),
Map.entry("deviceOwner", "IT"),
Map.entry("deviceType", "sensor")
))
.deviceName("namespace-device-on-edge")
.enabled(true)
.endpoints(MessagingEndpointsArgs.builder()
.inbound(Map.of("theOnlyOPCUABroker", InboundEndpointsArgs.builder()
.address("opc.tcp://192.168.86.23:51211/UA/SampleServer")
.authentication(HostAuthenticationArgs.builder()
.method("UsernamePassword")
.usernamePasswordCredentials(UsernamePasswordCredentialsArgs.builder()
.passwordSecretName("pwd-ref")
.usernameSecretName("user-ref")
.build())
.build())
.endpointType("microsoft.opcua/v1")
.version("2")
.build()))
.build())
.extendedLocation(ExtendedLocationArgs.builder()
.name("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1")
.type("CustomLocation")
.build())
.externalDeviceId("unique-edge-device-identifier")
.location("West Europe")
.namespaceName("adr-namespace-gbk0925-n01")
.resourceGroupName("myResourceGroup")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const namespaceDevice = new azure_native.deviceregistry.NamespaceDevice("namespaceDevice", {
attributes: {
deviceCategory: 16,
deviceOwner: "IT",
deviceType: "sensor",
},
deviceName: "namespace-device-on-edge",
enabled: true,
endpoints: {
inbound: {
theOnlyOPCUABroker: {
address: "opc.tcp://192.168.86.23:51211/UA/SampleServer",
authentication: {
method: azure_native.deviceregistry.AuthenticationMethod.UsernamePassword,
usernamePasswordCredentials: {
passwordSecretName: "pwd-ref",
usernameSecretName: "user-ref",
},
},
endpointType: "microsoft.opcua/v1",
version: "2",
},
},
},
extendedLocation: {
name: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
type: "CustomLocation",
},
externalDeviceId: "unique-edge-device-identifier",
location: "West Europe",
namespaceName: "adr-namespace-gbk0925-n01",
resourceGroupName: "myResourceGroup",
});
import pulumi
import pulumi_azure_native as azure_native
namespace_device = azure_native.deviceregistry.NamespaceDevice("namespaceDevice",
attributes={
"deviceCategory": 16,
"deviceOwner": "IT",
"deviceType": "sensor",
},
device_name="namespace-device-on-edge",
enabled=True,
endpoints={
"inbound": {
"theOnlyOPCUABroker": {
"address": "opc.tcp://192.168.86.23:51211/UA/SampleServer",
"authentication": {
"method": azure_native.deviceregistry.AuthenticationMethod.USERNAME_PASSWORD,
"username_password_credentials": {
"password_secret_name": "pwd-ref",
"username_secret_name": "user-ref",
},
},
"endpoint_type": "microsoft.opcua/v1",
"version": "2",
},
},
},
extended_location={
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
"type": "CustomLocation",
},
external_device_id="unique-edge-device-identifier",
location="West Europe",
namespace_name="adr-namespace-gbk0925-n01",
resource_group_name="myResourceGroup")
resources:
namespaceDevice:
type: azure-native:deviceregistry:NamespaceDevice
properties:
attributes:
deviceCategory: 16
deviceOwner: IT
deviceType: sensor
deviceName: namespace-device-on-edge
enabled: true
endpoints:
inbound:
theOnlyOPCUABroker:
address: opc.tcp://192.168.86.23:51211/UA/SampleServer
authentication:
method: UsernamePassword
usernamePasswordCredentials:
passwordSecretName: pwd-ref
usernameSecretName: user-ref
endpointType: microsoft.opcua/v1
version: '2'
extendedLocation:
name: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1
type: CustomLocation
externalDeviceId: unique-edge-device-identifier
location: West Europe
namespaceName: adr-namespace-gbk0925-n01
resourceGroupName: myResourceGroup
Create edge enabled device with anonymous host authentication.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var namespaceDevice = new AzureNative.DeviceRegistry.NamespaceDevice("namespaceDevice", new()
{
Attributes = new Dictionary<string, object?>
{
["deviceCategory"] = 16,
["deviceOwner"] = "OT",
["deviceType"] = "dough-maker",
},
DeviceName = "namespace-device-on-edge",
Enabled = true,
Endpoints = new AzureNative.DeviceRegistry.Inputs.MessagingEndpointsArgs
{
Inbound =
{
{ "theOnlyOPCUABroker", new AzureNative.DeviceRegistry.Inputs.InboundEndpointsArgs
{
Address = "opc.tcp://192.168.86.23:51211/UA/SampleServer",
Authentication = new AzureNative.DeviceRegistry.Inputs.HostAuthenticationArgs
{
Method = AzureNative.DeviceRegistry.AuthenticationMethod.Anonymous,
},
EndpointType = "microsoft.opcua/v1",
Version = "2",
} },
},
},
ExtendedLocation = new AzureNative.DeviceRegistry.Inputs.ExtendedLocationArgs
{
Name = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
Type = "CustomLocation",
},
ExternalDeviceId = "unique-edge-device-identifier",
Location = "West Europe",
NamespaceName = "adr-namespace-gbk0925-n01",
ResourceGroupName = "myResourceGroup",
});
});
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.NewNamespaceDevice(ctx, "namespaceDevice", &deviceregistry.NamespaceDeviceArgs{
Attributes: pulumi.Any(map[string]interface{}{
"deviceCategory": 16,
"deviceOwner": "OT",
"deviceType": "dough-maker",
}),
DeviceName: pulumi.String("namespace-device-on-edge"),
Enabled: pulumi.Bool(true),
Endpoints: &deviceregistry.MessagingEndpointsArgs{
Inbound: deviceregistry.InboundEndpointsMap{
"theOnlyOPCUABroker": &deviceregistry.InboundEndpointsArgs{
Address: pulumi.String("opc.tcp://192.168.86.23:51211/UA/SampleServer"),
Authentication: &deviceregistry.HostAuthenticationArgs{
Method: pulumi.String(deviceregistry.AuthenticationMethodAnonymous),
},
EndpointType: pulumi.String("microsoft.opcua/v1"),
Version: pulumi.String("2"),
},
},
},
ExtendedLocation: &deviceregistry.ExtendedLocationArgs{
Name: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"),
Type: pulumi.String("CustomLocation"),
},
ExternalDeviceId: pulumi.String("unique-edge-device-identifier"),
Location: pulumi.String("West Europe"),
NamespaceName: pulumi.String("adr-namespace-gbk0925-n01"),
ResourceGroupName: pulumi.String("myResourceGroup"),
})
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.NamespaceDevice;
import com.pulumi.azurenative.deviceregistry.NamespaceDeviceArgs;
import com.pulumi.azurenative.deviceregistry.inputs.MessagingEndpointsArgs;
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 namespaceDevice = new NamespaceDevice("namespaceDevice", NamespaceDeviceArgs.builder()
.attributes(Map.ofEntries(
Map.entry("deviceCategory", 16),
Map.entry("deviceOwner", "OT"),
Map.entry("deviceType", "dough-maker")
))
.deviceName("namespace-device-on-edge")
.enabled(true)
.endpoints(MessagingEndpointsArgs.builder()
.inbound(Map.of("theOnlyOPCUABroker", InboundEndpointsArgs.builder()
.address("opc.tcp://192.168.86.23:51211/UA/SampleServer")
.authentication(HostAuthenticationArgs.builder()
.method("Anonymous")
.build())
.endpointType("microsoft.opcua/v1")
.version("2")
.build()))
.build())
.extendedLocation(ExtendedLocationArgs.builder()
.name("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1")
.type("CustomLocation")
.build())
.externalDeviceId("unique-edge-device-identifier")
.location("West Europe")
.namespaceName("adr-namespace-gbk0925-n01")
.resourceGroupName("myResourceGroup")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const namespaceDevice = new azure_native.deviceregistry.NamespaceDevice("namespaceDevice", {
attributes: {
deviceCategory: 16,
deviceOwner: "OT",
deviceType: "dough-maker",
},
deviceName: "namespace-device-on-edge",
enabled: true,
endpoints: {
inbound: {
theOnlyOPCUABroker: {
address: "opc.tcp://192.168.86.23:51211/UA/SampleServer",
authentication: {
method: azure_native.deviceregistry.AuthenticationMethod.Anonymous,
},
endpointType: "microsoft.opcua/v1",
version: "2",
},
},
},
extendedLocation: {
name: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
type: "CustomLocation",
},
externalDeviceId: "unique-edge-device-identifier",
location: "West Europe",
namespaceName: "adr-namespace-gbk0925-n01",
resourceGroupName: "myResourceGroup",
});
import pulumi
import pulumi_azure_native as azure_native
namespace_device = azure_native.deviceregistry.NamespaceDevice("namespaceDevice",
attributes={
"deviceCategory": 16,
"deviceOwner": "OT",
"deviceType": "dough-maker",
},
device_name="namespace-device-on-edge",
enabled=True,
endpoints={
"inbound": {
"theOnlyOPCUABroker": {
"address": "opc.tcp://192.168.86.23:51211/UA/SampleServer",
"authentication": {
"method": azure_native.deviceregistry.AuthenticationMethod.ANONYMOUS,
},
"endpoint_type": "microsoft.opcua/v1",
"version": "2",
},
},
},
extended_location={
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
"type": "CustomLocation",
},
external_device_id="unique-edge-device-identifier",
location="West Europe",
namespace_name="adr-namespace-gbk0925-n01",
resource_group_name="myResourceGroup")
resources:
namespaceDevice:
type: azure-native:deviceregistry:NamespaceDevice
properties:
attributes:
deviceCategory: 16
deviceOwner: OT
deviceType: dough-maker
deviceName: namespace-device-on-edge
enabled: true
endpoints:
inbound:
theOnlyOPCUABroker:
address: opc.tcp://192.168.86.23:51211/UA/SampleServer
authentication:
method: Anonymous
endpointType: microsoft.opcua/v1
version: '2'
extendedLocation:
name: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1
type: CustomLocation
externalDeviceId: unique-edge-device-identifier
location: West Europe
namespaceName: adr-namespace-gbk0925-n01
resourceGroupName: myResourceGroup
Create edge enabled device with x509 inbound authentication.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var namespaceDevice = new AzureNative.DeviceRegistry.NamespaceDevice("namespaceDevice", new()
{
Attributes = new Dictionary<string, object?>
{
["deviceCategory"] = 16,
["deviceOwner"] = "OT",
["deviceType"] = "OPCUAServers",
},
DeviceName = "namespace-device-on-edge",
Enabled = true,
Endpoints = new AzureNative.DeviceRegistry.Inputs.MessagingEndpointsArgs
{
Inbound =
{
{ "theV1OPCUAEndpoint", new AzureNative.DeviceRegistry.Inputs.InboundEndpointsArgs
{
Address = "opc.tcp://192.168.86.23:51211/UA/SampleServer",
Authentication = new AzureNative.DeviceRegistry.Inputs.HostAuthenticationArgs
{
Method = AzureNative.DeviceRegistry.AuthenticationMethod.Certificate,
X509Credentials = new AzureNative.DeviceRegistry.Inputs.X509CredentialsArgs
{
CertificateSecretName = "cert-secret",
},
},
EndpointType = "microsoft.opcua/v1",
Version = "2",
} },
{ "theV2OPCUAEndpoint", new AzureNative.DeviceRegistry.Inputs.InboundEndpointsArgs
{
Address = "opc.tcp://192.168.86.23:51211/UA/SampleServer",
Authentication = new AzureNative.DeviceRegistry.Inputs.HostAuthenticationArgs
{
Method = AzureNative.DeviceRegistry.AuthenticationMethod.Certificate,
X509Credentials = new AzureNative.DeviceRegistry.Inputs.X509CredentialsArgs
{
CertificateSecretName = "cert-secret",
},
},
EndpointType = "microsoft.opcua/v1",
TrustSettings = new AzureNative.DeviceRegistry.Inputs.TrustSettingsArgs
{
TrustList = "trust-secret-reference",
},
Version = "2",
} },
},
},
ExtendedLocation = new AzureNative.DeviceRegistry.Inputs.ExtendedLocationArgs
{
Name = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
Type = "CustomLocation",
},
ExternalDeviceId = "unique-edge-device-identifier",
Location = "West Europe",
NamespaceName = "adr-namespace-gbk0925-n01",
ResourceGroupName = "myResourceGroup",
});
});
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.NewNamespaceDevice(ctx, "namespaceDevice", &deviceregistry.NamespaceDeviceArgs{
Attributes: pulumi.Any(map[string]interface{}{
"deviceCategory": 16,
"deviceOwner": "OT",
"deviceType": "OPCUAServers",
}),
DeviceName: pulumi.String("namespace-device-on-edge"),
Enabled: pulumi.Bool(true),
Endpoints: &deviceregistry.MessagingEndpointsArgs{
Inbound: deviceregistry.InboundEndpointsMap{
"theV1OPCUAEndpoint": &deviceregistry.InboundEndpointsArgs{
Address: pulumi.String("opc.tcp://192.168.86.23:51211/UA/SampleServer"),
Authentication: &deviceregistry.HostAuthenticationArgs{
Method: pulumi.String(deviceregistry.AuthenticationMethodCertificate),
X509Credentials: &deviceregistry.X509CredentialsArgs{
CertificateSecretName: pulumi.String("cert-secret"),
},
},
EndpointType: pulumi.String("microsoft.opcua/v1"),
Version: pulumi.String("2"),
},
"theV2OPCUAEndpoint": &deviceregistry.InboundEndpointsArgs{
Address: pulumi.String("opc.tcp://192.168.86.23:51211/UA/SampleServer"),
Authentication: &deviceregistry.HostAuthenticationArgs{
Method: pulumi.String(deviceregistry.AuthenticationMethodCertificate),
X509Credentials: &deviceregistry.X509CredentialsArgs{
CertificateSecretName: pulumi.String("cert-secret"),
},
},
EndpointType: pulumi.String("microsoft.opcua/v1"),
TrustSettings: &deviceregistry.TrustSettingsArgs{
TrustList: pulumi.String("trust-secret-reference"),
},
Version: pulumi.String("2"),
},
},
},
ExtendedLocation: &deviceregistry.ExtendedLocationArgs{
Name: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"),
Type: pulumi.String("CustomLocation"),
},
ExternalDeviceId: pulumi.String("unique-edge-device-identifier"),
Location: pulumi.String("West Europe"),
NamespaceName: pulumi.String("adr-namespace-gbk0925-n01"),
ResourceGroupName: pulumi.String("myResourceGroup"),
})
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.NamespaceDevice;
import com.pulumi.azurenative.deviceregistry.NamespaceDeviceArgs;
import com.pulumi.azurenative.deviceregistry.inputs.MessagingEndpointsArgs;
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 namespaceDevice = new NamespaceDevice("namespaceDevice", NamespaceDeviceArgs.builder()
.attributes(Map.ofEntries(
Map.entry("deviceCategory", 16),
Map.entry("deviceOwner", "OT"),
Map.entry("deviceType", "OPCUAServers")
))
.deviceName("namespace-device-on-edge")
.enabled(true)
.endpoints(MessagingEndpointsArgs.builder()
.inbound(Map.ofEntries(
Map.entry("theV1OPCUAEndpoint", InboundEndpointsArgs.builder()
.address("opc.tcp://192.168.86.23:51211/UA/SampleServer")
.authentication(HostAuthenticationArgs.builder()
.method("Certificate")
.x509Credentials(X509CredentialsArgs.builder()
.certificateSecretName("cert-secret")
.build())
.build())
.endpointType("microsoft.opcua/v1")
.version("2")
.build()),
Map.entry("theV2OPCUAEndpoint", InboundEndpointsArgs.builder()
.address("opc.tcp://192.168.86.23:51211/UA/SampleServer")
.authentication(HostAuthenticationArgs.builder()
.method("Certificate")
.x509Credentials(X509CredentialsArgs.builder()
.certificateSecretName("cert-secret")
.build())
.build())
.endpointType("microsoft.opcua/v1")
.trustSettings(TrustSettingsArgs.builder()
.trustList("trust-secret-reference")
.build())
.version("2")
.build())
))
.build())
.extendedLocation(ExtendedLocationArgs.builder()
.name("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1")
.type("CustomLocation")
.build())
.externalDeviceId("unique-edge-device-identifier")
.location("West Europe")
.namespaceName("adr-namespace-gbk0925-n01")
.resourceGroupName("myResourceGroup")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const namespaceDevice = new azure_native.deviceregistry.NamespaceDevice("namespaceDevice", {
attributes: {
deviceCategory: 16,
deviceOwner: "OT",
deviceType: "OPCUAServers",
},
deviceName: "namespace-device-on-edge",
enabled: true,
endpoints: {
inbound: {
theV1OPCUAEndpoint: {
address: "opc.tcp://192.168.86.23:51211/UA/SampleServer",
authentication: {
method: azure_native.deviceregistry.AuthenticationMethod.Certificate,
x509Credentials: {
certificateSecretName: "cert-secret",
},
},
endpointType: "microsoft.opcua/v1",
version: "2",
},
theV2OPCUAEndpoint: {
address: "opc.tcp://192.168.86.23:51211/UA/SampleServer",
authentication: {
method: azure_native.deviceregistry.AuthenticationMethod.Certificate,
x509Credentials: {
certificateSecretName: "cert-secret",
},
},
endpointType: "microsoft.opcua/v1",
trustSettings: {
trustList: "trust-secret-reference",
},
version: "2",
},
},
},
extendedLocation: {
name: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
type: "CustomLocation",
},
externalDeviceId: "unique-edge-device-identifier",
location: "West Europe",
namespaceName: "adr-namespace-gbk0925-n01",
resourceGroupName: "myResourceGroup",
});
import pulumi
import pulumi_azure_native as azure_native
namespace_device = azure_native.deviceregistry.NamespaceDevice("namespaceDevice",
attributes={
"deviceCategory": 16,
"deviceOwner": "OT",
"deviceType": "OPCUAServers",
},
device_name="namespace-device-on-edge",
enabled=True,
endpoints={
"inbound": {
"theV1OPCUAEndpoint": {
"address": "opc.tcp://192.168.86.23:51211/UA/SampleServer",
"authentication": {
"method": azure_native.deviceregistry.AuthenticationMethod.CERTIFICATE,
"x509_credentials": {
"certificate_secret_name": "cert-secret",
},
},
"endpoint_type": "microsoft.opcua/v1",
"version": "2",
},
"theV2OPCUAEndpoint": {
"address": "opc.tcp://192.168.86.23:51211/UA/SampleServer",
"authentication": {
"method": azure_native.deviceregistry.AuthenticationMethod.CERTIFICATE,
"x509_credentials": {
"certificate_secret_name": "cert-secret",
},
},
"endpoint_type": "microsoft.opcua/v1",
"trust_settings": {
"trust_list": "trust-secret-reference",
},
"version": "2",
},
},
},
extended_location={
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
"type": "CustomLocation",
},
external_device_id="unique-edge-device-identifier",
location="West Europe",
namespace_name="adr-namespace-gbk0925-n01",
resource_group_name="myResourceGroup")
resources:
namespaceDevice:
type: azure-native:deviceregistry:NamespaceDevice
properties:
attributes:
deviceCategory: 16
deviceOwner: OT
deviceType: OPCUAServers
deviceName: namespace-device-on-edge
enabled: true
endpoints:
inbound:
theV1OPCUAEndpoint:
address: opc.tcp://192.168.86.23:51211/UA/SampleServer
authentication:
method: Certificate
x509Credentials:
certificateSecretName: cert-secret
endpointType: microsoft.opcua/v1
version: '2'
theV2OPCUAEndpoint:
address: opc.tcp://192.168.86.23:51211/UA/SampleServer
authentication:
method: Certificate
x509Credentials:
certificateSecretName: cert-secret
endpointType: microsoft.opcua/v1
trustSettings:
trustList: trust-secret-reference
version: '2'
extendedLocation:
name: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1
type: CustomLocation
externalDeviceId: unique-edge-device-identifier
location: West Europe
namespaceName: adr-namespace-gbk0925-n01
resourceGroupName: myResourceGroup
CreateOrReplace_NamespaceDevices
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var namespaceDevice = new AzureNative.DeviceRegistry.NamespaceDevice("namespaceDevice", new()
{
Attributes = new Dictionary<string, object?>
{
["deviceCategory"] = 16,
["deviceOwner"] = "IT",
["deviceType"] = "sensor",
},
DeviceName = "dev-namespace-gbk0925-n01",
Enabled = true,
Endpoints = new AzureNative.DeviceRegistry.Inputs.MessagingEndpointsArgs
{
Outbound = new AzureNative.DeviceRegistry.Inputs.OutboundEndpointsArgs
{
Assigned =
{
{ "eventGridEndpoint", new AzureNative.DeviceRegistry.Inputs.DeviceMessagingEndpointArgs
{
Address = "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events",
EndpointType = "Microsoft.EventGrid",
} },
},
},
},
ExternalDeviceId = "adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f",
Location = "West Europe",
NamespaceName = "adr-namespace-gbk0925-n01",
ResourceGroupName = "myResourceGroup",
});
});
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.NewNamespaceDevice(ctx, "namespaceDevice", &deviceregistry.NamespaceDeviceArgs{
Attributes: pulumi.Any(map[string]interface{}{
"deviceCategory": 16,
"deviceOwner": "IT",
"deviceType": "sensor",
}),
DeviceName: pulumi.String("dev-namespace-gbk0925-n01"),
Enabled: pulumi.Bool(true),
Endpoints: &deviceregistry.MessagingEndpointsArgs{
Outbound: &deviceregistry.OutboundEndpointsArgs{
Assigned: deviceregistry.DeviceMessagingEndpointMap{
"eventGridEndpoint": &deviceregistry.DeviceMessagingEndpointArgs{
Address: pulumi.String("https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events"),
EndpointType: pulumi.String("Microsoft.EventGrid"),
},
},
},
},
ExternalDeviceId: pulumi.String("adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f"),
Location: pulumi.String("West Europe"),
NamespaceName: pulumi.String("adr-namespace-gbk0925-n01"),
ResourceGroupName: pulumi.String("myResourceGroup"),
})
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.NamespaceDevice;
import com.pulumi.azurenative.deviceregistry.NamespaceDeviceArgs;
import com.pulumi.azurenative.deviceregistry.inputs.MessagingEndpointsArgs;
import com.pulumi.azurenative.deviceregistry.inputs.OutboundEndpointsArgs;
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 namespaceDevice = new NamespaceDevice("namespaceDevice", NamespaceDeviceArgs.builder()
.attributes(Map.ofEntries(
Map.entry("deviceCategory", 16),
Map.entry("deviceOwner", "IT"),
Map.entry("deviceType", "sensor")
))
.deviceName("dev-namespace-gbk0925-n01")
.enabled(true)
.endpoints(MessagingEndpointsArgs.builder()
.outbound(OutboundEndpointsArgs.builder()
.assigned(Map.of("eventGridEndpoint", DeviceMessagingEndpointArgs.builder()
.address("https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events")
.endpointType("Microsoft.EventGrid")
.build()))
.build())
.build())
.externalDeviceId("adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f")
.location("West Europe")
.namespaceName("adr-namespace-gbk0925-n01")
.resourceGroupName("myResourceGroup")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const namespaceDevice = new azure_native.deviceregistry.NamespaceDevice("namespaceDevice", {
attributes: {
deviceCategory: 16,
deviceOwner: "IT",
deviceType: "sensor",
},
deviceName: "dev-namespace-gbk0925-n01",
enabled: true,
endpoints: {
outbound: {
assigned: {
eventGridEndpoint: {
address: "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events",
endpointType: "Microsoft.EventGrid",
},
},
},
},
externalDeviceId: "adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f",
location: "West Europe",
namespaceName: "adr-namespace-gbk0925-n01",
resourceGroupName: "myResourceGroup",
});
import pulumi
import pulumi_azure_native as azure_native
namespace_device = azure_native.deviceregistry.NamespaceDevice("namespaceDevice",
attributes={
"deviceCategory": 16,
"deviceOwner": "IT",
"deviceType": "sensor",
},
device_name="dev-namespace-gbk0925-n01",
enabled=True,
endpoints={
"outbound": {
"assigned": {
"eventGridEndpoint": {
"address": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events",
"endpoint_type": "Microsoft.EventGrid",
},
},
},
},
external_device_id="adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f",
location="West Europe",
namespace_name="adr-namespace-gbk0925-n01",
resource_group_name="myResourceGroup")
resources:
namespaceDevice:
type: azure-native:deviceregistry:NamespaceDevice
properties:
attributes:
deviceCategory: 16
deviceOwner: IT
deviceType: sensor
deviceName: dev-namespace-gbk0925-n01
enabled: true
endpoints:
outbound:
assigned:
eventGridEndpoint:
address: https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events
endpointType: Microsoft.EventGrid
externalDeviceId: adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f
location: West Europe
namespaceName: adr-namespace-gbk0925-n01
resourceGroupName: myResourceGroup
Create NamespaceDevice Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NamespaceDevice(name: string, args: NamespaceDeviceArgs, opts?: CustomResourceOptions);
@overload
def NamespaceDevice(resource_name: str,
args: NamespaceDeviceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NamespaceDevice(resource_name: str,
opts: Optional[ResourceOptions] = None,
namespace_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
external_device_id: Optional[str] = None,
enabled: Optional[bool] = None,
endpoints: Optional[MessagingEndpointsArgs] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
attributes: Optional[Any] = None,
location: Optional[str] = None,
manufacturer: Optional[str] = None,
model: Optional[str] = None,
discovered_device_ref: Optional[str] = None,
operating_system: Optional[str] = None,
operating_system_version: Optional[str] = None,
device_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewNamespaceDevice(ctx *Context, name string, args NamespaceDeviceArgs, opts ...ResourceOption) (*NamespaceDevice, error)
public NamespaceDevice(string name, NamespaceDeviceArgs args, CustomResourceOptions? opts = null)
public NamespaceDevice(String name, NamespaceDeviceArgs args)
public NamespaceDevice(String name, NamespaceDeviceArgs args, CustomResourceOptions options)
type: azure-native:deviceregistry:NamespaceDevice
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 NamespaceDeviceArgs
- 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 NamespaceDeviceArgs
- 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 NamespaceDeviceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NamespaceDeviceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NamespaceDeviceArgs
- 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 namespaceDeviceResource = new AzureNative.DeviceRegistry.NamespaceDevice("namespaceDeviceResource", new()
{
NamespaceName = "string",
ResourceGroupName = "string",
ExternalDeviceId = "string",
Enabled = false,
Endpoints = new AzureNative.DeviceRegistry.Inputs.MessagingEndpointsArgs
{
Inbound =
{
{ "string", new AzureNative.DeviceRegistry.Inputs.InboundEndpointsArgs
{
Address = "string",
EndpointType = "string",
AdditionalConfiguration = "string",
Authentication = new AzureNative.DeviceRegistry.Inputs.HostAuthenticationArgs
{
Method = "string",
UsernamePasswordCredentials = new AzureNative.DeviceRegistry.Inputs.UsernamePasswordCredentialsArgs
{
PasswordSecretName = "string",
UsernameSecretName = "string",
},
X509Credentials = new AzureNative.DeviceRegistry.Inputs.X509CredentialsArgs
{
CertificateSecretName = "string",
},
},
TrustSettings = new AzureNative.DeviceRegistry.Inputs.TrustSettingsArgs
{
TrustList = "string",
},
Version = "string",
} },
},
Outbound = new AzureNative.DeviceRegistry.Inputs.OutboundEndpointsArgs
{
Assigned =
{
{ "string", new AzureNative.DeviceRegistry.Inputs.DeviceMessagingEndpointArgs
{
Address = "string",
EndpointType = "string",
} },
},
Unassigned =
{
{ "string", new AzureNative.DeviceRegistry.Inputs.DeviceMessagingEndpointArgs
{
Address = "string",
EndpointType = "string",
} },
},
},
},
ExtendedLocation = new AzureNative.DeviceRegistry.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
Attributes = "any",
Location = "string",
Manufacturer = "string",
Model = "string",
DiscoveredDeviceRef = "string",
OperatingSystem = "string",
OperatingSystemVersion = "string",
DeviceName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := deviceregistry.NewNamespaceDevice(ctx, "namespaceDeviceResource", &deviceregistry.NamespaceDeviceArgs{
NamespaceName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ExternalDeviceId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Endpoints: &deviceregistry.MessagingEndpointsArgs{
Inbound: deviceregistry.InboundEndpointsMap{
"string": &deviceregistry.InboundEndpointsArgs{
Address: pulumi.String("string"),
EndpointType: pulumi.String("string"),
AdditionalConfiguration: pulumi.String("string"),
Authentication: &deviceregistry.HostAuthenticationArgs{
Method: pulumi.String("string"),
UsernamePasswordCredentials: &deviceregistry.UsernamePasswordCredentialsArgs{
PasswordSecretName: pulumi.String("string"),
UsernameSecretName: pulumi.String("string"),
},
X509Credentials: &deviceregistry.X509CredentialsArgs{
CertificateSecretName: pulumi.String("string"),
},
},
TrustSettings: &deviceregistry.TrustSettingsArgs{
TrustList: pulumi.String("string"),
},
Version: pulumi.String("string"),
},
},
Outbound: &deviceregistry.OutboundEndpointsArgs{
Assigned: deviceregistry.DeviceMessagingEndpointMap{
"string": &deviceregistry.DeviceMessagingEndpointArgs{
Address: pulumi.String("string"),
EndpointType: pulumi.String("string"),
},
},
Unassigned: deviceregistry.DeviceMessagingEndpointMap{
"string": &deviceregistry.DeviceMessagingEndpointArgs{
Address: pulumi.String("string"),
EndpointType: pulumi.String("string"),
},
},
},
},
ExtendedLocation: &deviceregistry.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
Attributes: pulumi.Any("any"),
Location: pulumi.String("string"),
Manufacturer: pulumi.String("string"),
Model: pulumi.String("string"),
DiscoveredDeviceRef: pulumi.String("string"),
OperatingSystem: pulumi.String("string"),
OperatingSystemVersion: pulumi.String("string"),
DeviceName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var namespaceDeviceResource = new NamespaceDevice("namespaceDeviceResource", NamespaceDeviceArgs.builder()
.namespaceName("string")
.resourceGroupName("string")
.externalDeviceId("string")
.enabled(false)
.endpoints(MessagingEndpointsArgs.builder()
.inbound(Map.of("string", InboundEndpointsArgs.builder()
.address("string")
.endpointType("string")
.additionalConfiguration("string")
.authentication(HostAuthenticationArgs.builder()
.method("string")
.usernamePasswordCredentials(UsernamePasswordCredentialsArgs.builder()
.passwordSecretName("string")
.usernameSecretName("string")
.build())
.x509Credentials(X509CredentialsArgs.builder()
.certificateSecretName("string")
.build())
.build())
.trustSettings(TrustSettingsArgs.builder()
.trustList("string")
.build())
.version("string")
.build()))
.outbound(OutboundEndpointsArgs.builder()
.assigned(Map.of("string", DeviceMessagingEndpointArgs.builder()
.address("string")
.endpointType("string")
.build()))
.unassigned(Map.of("string", DeviceMessagingEndpointArgs.builder()
.address("string")
.endpointType("string")
.build()))
.build())
.build())
.extendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.attributes("any")
.location("string")
.manufacturer("string")
.model("string")
.discoveredDeviceRef("string")
.operatingSystem("string")
.operatingSystemVersion("string")
.deviceName("string")
.tags(Map.of("string", "string"))
.build());
namespace_device_resource = azure_native.deviceregistry.NamespaceDevice("namespaceDeviceResource",
namespace_name="string",
resource_group_name="string",
external_device_id="string",
enabled=False,
endpoints={
"inbound": {
"string": {
"address": "string",
"endpoint_type": "string",
"additional_configuration": "string",
"authentication": {
"method": "string",
"username_password_credentials": {
"password_secret_name": "string",
"username_secret_name": "string",
},
"x509_credentials": {
"certificate_secret_name": "string",
},
},
"trust_settings": {
"trust_list": "string",
},
"version": "string",
},
},
"outbound": {
"assigned": {
"string": {
"address": "string",
"endpoint_type": "string",
},
},
"unassigned": {
"string": {
"address": "string",
"endpoint_type": "string",
},
},
},
},
extended_location={
"name": "string",
"type": "string",
},
attributes="any",
location="string",
manufacturer="string",
model="string",
discovered_device_ref="string",
operating_system="string",
operating_system_version="string",
device_name="string",
tags={
"string": "string",
})
const namespaceDeviceResource = new azure_native.deviceregistry.NamespaceDevice("namespaceDeviceResource", {
namespaceName: "string",
resourceGroupName: "string",
externalDeviceId: "string",
enabled: false,
endpoints: {
inbound: {
string: {
address: "string",
endpointType: "string",
additionalConfiguration: "string",
authentication: {
method: "string",
usernamePasswordCredentials: {
passwordSecretName: "string",
usernameSecretName: "string",
},
x509Credentials: {
certificateSecretName: "string",
},
},
trustSettings: {
trustList: "string",
},
version: "string",
},
},
outbound: {
assigned: {
string: {
address: "string",
endpointType: "string",
},
},
unassigned: {
string: {
address: "string",
endpointType: "string",
},
},
},
},
extendedLocation: {
name: "string",
type: "string",
},
attributes: "any",
location: "string",
manufacturer: "string",
model: "string",
discoveredDeviceRef: "string",
operatingSystem: "string",
operatingSystemVersion: "string",
deviceName: "string",
tags: {
string: "string",
},
});
type: azure-native:deviceregistry:NamespaceDevice
properties:
attributes: any
deviceName: string
discoveredDeviceRef: string
enabled: false
endpoints:
inbound:
string:
additionalConfiguration: string
address: string
authentication:
method: string
usernamePasswordCredentials:
passwordSecretName: string
usernameSecretName: string
x509Credentials:
certificateSecretName: string
endpointType: string
trustSettings:
trustList: string
version: string
outbound:
assigned:
string:
address: string
endpointType: string
unassigned:
string:
address: string
endpointType: string
extendedLocation:
name: string
type: string
externalDeviceId: string
location: string
manufacturer: string
model: string
namespaceName: string
operatingSystem: string
operatingSystemVersion: string
resourceGroupName: string
tags:
string: string
NamespaceDevice 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 NamespaceDevice resource accepts the following input properties:
- Namespace
Name string - The name of the namespace.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Attributes object
- A set of key-value pairs that contain custom attributes set by the customer.
- Device
Name string - The name of the device.
- Discovered
Device stringRef - Reference to a device. Populated only if the device had been created from discovery flow. Discovered device name must be provided.
- Enabled bool
- Indicates if the resource is enabled or not.
- Endpoints
Pulumi.
Azure Native. Device Registry. Inputs. Messaging Endpoints - Property bag containing the device's unassigned and assigned endpoints.
- Extended
Location Pulumi.Azure Native. Device Registry. Inputs. Extended Location - The extended location.
- External
Device stringId - The Device ID provided by the customer.
- Location string
- The geo-location where the resource lives
- Manufacturer string
- Device manufacturer.
- Model string
- Device model.
- Operating
System string - Device operating system.
- Operating
System stringVersion - Device operating system version.
- Dictionary<string, string>
- Resource tags.
- Namespace
Name string - The name of the namespace.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Attributes interface{}
- A set of key-value pairs that contain custom attributes set by the customer.
- Device
Name string - The name of the device.
- Discovered
Device stringRef - Reference to a device. Populated only if the device had been created from discovery flow. Discovered device name must be provided.
- Enabled bool
- Indicates if the resource is enabled or not.
- Endpoints
Messaging
Endpoints Args - Property bag containing the device's unassigned and assigned endpoints.
- Extended
Location ExtendedLocation Args - The extended location.
- External
Device stringId - The Device ID provided by the customer.
- Location string
- The geo-location where the resource lives
- Manufacturer string
- Device manufacturer.
- Model string
- Device model.
- Operating
System string - Device operating system.
- Operating
System stringVersion - Device operating system version.
- map[string]string
- Resource tags.
- namespace
Name String - The name of the namespace.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- attributes Object
- A set of key-value pairs that contain custom attributes set by the customer.
- device
Name String - The name of the device.
- discovered
Device StringRef - Reference to a device. Populated only if the device had been created from discovery flow. Discovered device name must be provided.
- enabled Boolean
- Indicates if the resource is enabled or not.
- endpoints
Messaging
Endpoints - Property bag containing the device's unassigned and assigned endpoints.
- extended
Location ExtendedLocation - The extended location.
- external
Device StringId - The Device ID provided by the customer.
- location String
- The geo-location where the resource lives
- manufacturer String
- Device manufacturer.
- model String
- Device model.
- operating
System String - Device operating system.
- operating
System StringVersion - Device operating system version.
- Map<String,String>
- Resource tags.
- namespace
Name string - The name of the namespace.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- attributes any
- A set of key-value pairs that contain custom attributes set by the customer.
- device
Name string - The name of the device.
- discovered
Device stringRef - Reference to a device. Populated only if the device had been created from discovery flow. Discovered device name must be provided.
- enabled boolean
- Indicates if the resource is enabled or not.
- endpoints
Messaging
Endpoints - Property bag containing the device's unassigned and assigned endpoints.
- extended
Location ExtendedLocation - The extended location.
- external
Device stringId - The Device ID provided by the customer.
- location string
- The geo-location where the resource lives
- manufacturer string
- Device manufacturer.
- model string
- Device model.
- operating
System string - Device operating system.
- operating
System stringVersion - Device operating system version.
- {[key: string]: string}
- Resource tags.
- namespace_
name str - The name of the namespace.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- attributes Any
- A set of key-value pairs that contain custom attributes set by the customer.
- device_
name str - The name of the device.
- discovered_
device_ strref - Reference to a device. Populated only if the device had been created from discovery flow. Discovered device name must be provided.
- enabled bool
- Indicates if the resource is enabled or not.
- endpoints
Messaging
Endpoints Args - Property bag containing the device's unassigned and assigned endpoints.
- extended_
location ExtendedLocation Args - The extended location.
- external_
device_ strid - The Device ID provided by the customer.
- location str
- The geo-location where the resource lives
- manufacturer str
- Device manufacturer.
- model str
- Device model.
- operating_
system str - Device operating system.
- operating_
system_ strversion - Device operating system version.
- Mapping[str, str]
- Resource tags.
- namespace
Name String - The name of the namespace.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- attributes Any
- A set of key-value pairs that contain custom attributes set by the customer.
- device
Name String - The name of the device.
- discovered
Device StringRef - Reference to a device. Populated only if the device had been created from discovery flow. Discovered device name must be provided.
- enabled Boolean
- Indicates if the resource is enabled or not.
- endpoints Property Map
- Property bag containing the device's unassigned and assigned endpoints.
- extended
Location Property Map - The extended location.
- external
Device StringId - The Device ID provided by the customer.
- location String
- The geo-location where the resource lives
- manufacturer String
- Device manufacturer.
- model String
- Device model.
- operating
System String - Device operating system.
- operating
System StringVersion - Device operating system version.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the NamespaceDevice resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- Resource Tag.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Transition stringTime - A timestamp (in UTC) that is updated each time the resource is modified.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the resource.
- Status
Pulumi.
Azure Native. Device Registry. Outputs. Device Status Response - Device status updates.
- System
Data Pulumi.Azure Native. Device Registry. Outputs. System Data Response - 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
- A unique identifier for the device.
- Version double
- An integer that is incremented each time the resource is modified.
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- Resource Tag.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Transition stringTime - A timestamp (in UTC) that is updated each time the resource is modified.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the resource.
- Status
Device
Status Response - Device status updates.
- System
Data SystemData Response - 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
- A unique identifier for the device.
- Version float64
- An integer that is incremented each time the resource is modified.
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- Resource Tag.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Transition StringTime - A timestamp (in UTC) that is updated each time the resource is modified.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the resource.
- status
Device
Status Response - Device status updates.
- system
Data SystemData Response - 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
- A unique identifier for the device.
- version Double
- An integer that is incremented each time the resource is modified.
- azure
Api stringVersion - The Azure API version of the resource.
- etag string
- Resource Tag.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Transition stringTime - A timestamp (in UTC) that is updated each time the resource is modified.
- name string
- The name of the resource
- provisioning
State string - Provisioning state of the resource.
- status
Device
Status Response - Device status updates.
- system
Data SystemData Response - 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
- A unique identifier for the device.
- version number
- An integer that is incremented each time the resource is modified.
- azure_
api_ strversion - The Azure API version of the resource.
- etag str
- Resource Tag.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
transition_ strtime - A timestamp (in UTC) that is updated each time the resource is modified.
- name str
- The name of the resource
- provisioning_
state str - Provisioning state of the resource.
- status
Device
Status Response - Device status updates.
- system_
data SystemData Response - 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
- A unique identifier for the device.
- version float
- An integer that is incremented each time the resource is modified.
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- Resource Tag.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Transition StringTime - A timestamp (in UTC) that is updated each time the resource is modified.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the resource.
- status Property Map
- Device status updates.
- system
Data 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
- A unique identifier for the device.
- version Number
- An integer that is incremented each time the resource is modified.
Supporting Types
AuthenticationMethod, AuthenticationMethodArgs
- Anonymous
- AnonymousThe user authentication method is anonymous.
- Certificate
- CertificateThe user authentication method is an x509 certificate.
- Username
Password - UsernamePasswordThe user authentication method is a username and password.
- Authentication
Method Anonymous - AnonymousThe user authentication method is anonymous.
- Authentication
Method Certificate - CertificateThe user authentication method is an x509 certificate.
- Authentication
Method Username Password - UsernamePasswordThe user authentication method is a username and password.
- Anonymous
- AnonymousThe user authentication method is anonymous.
- Certificate
- CertificateThe user authentication method is an x509 certificate.
- Username
Password - UsernamePasswordThe user authentication method is a username and password.
- Anonymous
- AnonymousThe user authentication method is anonymous.
- Certificate
- CertificateThe user authentication method is an x509 certificate.
- Username
Password - UsernamePasswordThe user authentication method is a username and password.
- ANONYMOUS
- AnonymousThe user authentication method is anonymous.
- CERTIFICATE
- CertificateThe user authentication method is an x509 certificate.
- USERNAME_PASSWORD
- UsernamePasswordThe user authentication method is a username and password.
- "Anonymous"
- AnonymousThe user authentication method is anonymous.
- "Certificate"
- CertificateThe user authentication method is an x509 certificate.
- "Username
Password" - UsernamePasswordThe user authentication method is a username and password.
DeviceMessagingEndpoint, DeviceMessagingEndpointArgs
- Address string
- The endpoint address to connect to.
- Endpoint
Type string - Type of connection used for the messaging endpoint.
- Address string
- The endpoint address to connect to.
- Endpoint
Type string - Type of connection used for the messaging endpoint.
- address String
- The endpoint address to connect to.
- endpoint
Type String - Type of connection used for the messaging endpoint.
- address string
- The endpoint address to connect to.
- endpoint
Type string - Type of connection used for the messaging endpoint.
- address str
- The endpoint address to connect to.
- endpoint_
type str - Type of connection used for the messaging endpoint.
- address String
- The endpoint address to connect to.
- endpoint
Type String - Type of connection used for the messaging endpoint.
DeviceMessagingEndpointResponse, DeviceMessagingEndpointResponseArgs
- Address string
- The endpoint address to connect to.
- Endpoint
Type string - Type of connection used for the messaging endpoint.
- Address string
- The endpoint address to connect to.
- Endpoint
Type string - Type of connection used for the messaging endpoint.
- address String
- The endpoint address to connect to.
- endpoint
Type String - Type of connection used for the messaging endpoint.
- address string
- The endpoint address to connect to.
- endpoint
Type string - Type of connection used for the messaging endpoint.
- address str
- The endpoint address to connect to.
- endpoint_
type str - Type of connection used for the messaging endpoint.
- address String
- The endpoint address to connect to.
- endpoint
Type String - Type of connection used for the messaging endpoint.
DeviceStatusEndpointResponse, DeviceStatusEndpointResponseArgs
- Error
Pulumi.
Azure Native. Device Registry. Inputs. Status Error Response - Defines the error related to this endpoint.
- Error
Status
Error Response - Defines the error related to this endpoint.
- error
Status
Error Response - Defines the error related to this endpoint.
- error
Status
Error Response - Defines the error related to this endpoint.
- error
Status
Error Response - Defines the error related to this endpoint.
- error Property Map
- Defines the error related to this endpoint.
DeviceStatusEndpointsResponse, DeviceStatusEndpointsResponseArgs
- Inbound
Dictionary<string, Pulumi.
Azure Native. Device Registry. Inputs. Device Status Endpoint Response> - KeyValue pair representing status of inbound endpoints.
- Inbound
map[string]Device
Status Endpoint Response - KeyValue pair representing status of inbound endpoints.
- inbound
Map<String,Device
Status Endpoint Response> - KeyValue pair representing status of inbound endpoints.
- inbound
{[key: string]: Device
Status Endpoint Response} - KeyValue pair representing status of inbound endpoints.
- inbound
Mapping[str, Device
Status Endpoint Response] - KeyValue pair representing status of inbound endpoints.
- inbound Map<Property Map>
- KeyValue pair representing status of inbound endpoints.
DeviceStatusResponse, DeviceStatusResponseArgs
- Config
Pulumi.
Azure Native. Device Registry. Inputs. Status Config Response - Defines the device status config properties.
- Endpoints
Pulumi.
Azure Native. Device Registry. Inputs. Device Status Endpoints Response - Defines the device status for inbound/outbound endpoints.
- Config
Status
Config Response - Defines the device status config properties.
- Endpoints
Device
Status Endpoints Response - Defines the device status for inbound/outbound endpoints.
- config
Status
Config Response - Defines the device status config properties.
- endpoints
Device
Status Endpoints Response - Defines the device status for inbound/outbound endpoints.
- config
Status
Config Response - Defines the device status config properties.
- endpoints
Device
Status Endpoints Response - Defines the device status for inbound/outbound endpoints.
- config
Status
Config Response - Defines the device status config properties.
- endpoints
Device
Status Endpoints Response - Defines the device status for inbound/outbound endpoints.
- config Property Map
- Defines the device status config properties.
- endpoints Property Map
- Defines the device status for inbound/outbound endpoints.
ErrorDetailsResponse, ErrorDetailsResponseArgs
- Code string
- Multi-part error code for classification and root causing of errors (ex: 400.200.100.432).
- Correlation
Id string - Unique identifier for the transaction to aid in debugging.
- Info string
- Human-readable helpful detailed text context for debugging (ex: “The following mechanisms are supported...”).
- Message string
- Human-readable helpful error message to provide additional context for error (ex: “Authentication method not supported”).
- Code string
- Multi-part error code for classification and root causing of errors (ex: 400.200.100.432).
- Correlation
Id string - Unique identifier for the transaction to aid in debugging.
- Info string
- Human-readable helpful detailed text context for debugging (ex: “The following mechanisms are supported...”).
- Message string
- Human-readable helpful error message to provide additional context for error (ex: “Authentication method not supported”).
- code String
- Multi-part error code for classification and root causing of errors (ex: 400.200.100.432).
- correlation
Id String - Unique identifier for the transaction to aid in debugging.
- info String
- Human-readable helpful detailed text context for debugging (ex: “The following mechanisms are supported...”).
- message String
- Human-readable helpful error message to provide additional context for error (ex: “Authentication method not supported”).
- code string
- Multi-part error code for classification and root causing of errors (ex: 400.200.100.432).
- correlation
Id string - Unique identifier for the transaction to aid in debugging.
- info string
- Human-readable helpful detailed text context for debugging (ex: “The following mechanisms are supported...”).
- message string
- Human-readable helpful error message to provide additional context for error (ex: “Authentication method not supported”).
- code str
- Multi-part error code for classification and root causing of errors (ex: 400.200.100.432).
- correlation_
id str - Unique identifier for the transaction to aid in debugging.
- info str
- Human-readable helpful detailed text context for debugging (ex: “The following mechanisms are supported...”).
- message str
- Human-readable helpful error message to provide additional context for error (ex: “Authentication method not supported”).
- code String
- Multi-part error code for classification and root causing of errors (ex: 400.200.100.432).
- correlation
Id String - Unique identifier for the transaction to aid in debugging.
- info String
- Human-readable helpful detailed text context for debugging (ex: “The following mechanisms are supported...”).
- message String
- Human-readable helpful error message to provide additional context for error (ex: “Authentication method not supported”).
ExtendedLocation, ExtendedLocationArgs
ExtendedLocationResponse, ExtendedLocationResponseArgs
HostAuthentication, HostAuthenticationArgs
- Method
string | Pulumi.
Azure Native. Device Registry. Authentication Method - Defines the method to authenticate the user of the client at the server.
- Username
Password Pulumi.Credentials Azure Native. Device Registry. Inputs. Username Password Credentials - Defines the username and password references when UsernamePassword user authentication mode is selected.
- X509Credentials
Pulumi.
Azure Native. Device Registry. Inputs. X509Credentials - Defines the certificate reference when Certificate user authentication mode is selected.
- Method
string | Authentication
Method - Defines the method to authenticate the user of the client at the server.
- Username
Password UsernameCredentials Password Credentials - Defines the username and password references when UsernamePassword user authentication mode is selected.
- X509Credentials X509Credentials
- Defines the certificate reference when Certificate user authentication mode is selected.
- method
String | Authentication
Method - Defines the method to authenticate the user of the client at the server.
- username
Password UsernameCredentials Password Credentials - Defines the username and password references when UsernamePassword user authentication mode is selected.
- x509Credentials X509Credentials
- Defines the certificate reference when Certificate user authentication mode is selected.
- method
string | Authentication
Method - Defines the method to authenticate the user of the client at the server.
- username
Password UsernameCredentials Password Credentials - Defines the username and password references when UsernamePassword user authentication mode is selected.
- x509Credentials X509Credentials
- Defines the certificate reference when Certificate user authentication mode is selected.
- method
str | Authentication
Method - Defines the method to authenticate the user of the client at the server.
- username_
password_ Usernamecredentials Password Credentials - Defines the username and password references when UsernamePassword user authentication mode is selected.
- x509_
credentials X509Credentials - Defines the certificate reference when Certificate user authentication mode is selected.
- method
String | "Anonymous" | "Certificate" | "Username
Password" - Defines the method to authenticate the user of the client at the server.
- username
Password Property MapCredentials - Defines the username and password references when UsernamePassword user authentication mode is selected.
- x509Credentials Property Map
- Defines the certificate reference when Certificate user authentication mode is selected.
HostAuthenticationResponse, HostAuthenticationResponseArgs
- Method string
- Defines the method to authenticate the user of the client at the server.
- Username
Password Pulumi.Credentials Azure Native. Device Registry. Inputs. Username Password Credentials Response - Defines the username and password references when UsernamePassword user authentication mode is selected.
- X509Credentials
Pulumi.
Azure Native. Device Registry. Inputs. X509Credentials Response - Defines the certificate reference when Certificate user authentication mode is selected.
- Method string
- Defines the method to authenticate the user of the client at the server.
- Username
Password UsernameCredentials Password Credentials Response - Defines the username and password references when UsernamePassword user authentication mode is selected.
- X509Credentials
X509Credentials
Response - Defines the certificate reference when Certificate user authentication mode is selected.
- method String
- Defines the method to authenticate the user of the client at the server.
- username
Password UsernameCredentials Password Credentials Response - Defines the username and password references when UsernamePassword user authentication mode is selected.
- x509Credentials
X509Credentials
Response - Defines the certificate reference when Certificate user authentication mode is selected.
- method string
- Defines the method to authenticate the user of the client at the server.
- username
Password UsernameCredentials Password Credentials Response - Defines the username and password references when UsernamePassword user authentication mode is selected.
- x509Credentials
X509Credentials
Response - Defines the certificate reference when Certificate user authentication mode is selected.
- method str
- Defines the method to authenticate the user of the client at the server.
- username_
password_ Usernamecredentials Password Credentials Response - Defines the username and password references when UsernamePassword user authentication mode is selected.
- x509_
credentials X509CredentialsResponse - Defines the certificate reference when Certificate user authentication mode is selected.
- method String
- Defines the method to authenticate the user of the client at the server.
- username
Password Property MapCredentials - Defines the username and password references when UsernamePassword user authentication mode is selected.
- x509Credentials Property Map
- Defines the certificate reference when Certificate user authentication mode is selected.
InboundEndpoints, InboundEndpointsArgs
- Address string
- The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).
- Endpoint
Type string - Type of connection endpoint.
- Additional
Configuration string - Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).
- Authentication
Pulumi.
Azure Native. Device Registry. Inputs. Host Authentication - Defines the client authentication mechanism to the server.
- Trust
Settings Pulumi.Azure Native. Device Registry. Inputs. Trust Settings - Defines server trust settings for the endpoint.
- Version string
- Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.
- Address string
- The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).
- Endpoint
Type string - Type of connection endpoint.
- Additional
Configuration string - Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).
- Authentication
Host
Authentication - Defines the client authentication mechanism to the server.
- Trust
Settings TrustSettings - Defines server trust settings for the endpoint.
- Version string
- Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.
- address String
- The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).
- endpoint
Type String - Type of connection endpoint.
- additional
Configuration String - Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).
- authentication
Host
Authentication - Defines the client authentication mechanism to the server.
- trust
Settings TrustSettings - Defines server trust settings for the endpoint.
- version String
- Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.
- address string
- The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).
- endpoint
Type string - Type of connection endpoint.
- additional
Configuration string - Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).
- authentication
Host
Authentication - Defines the client authentication mechanism to the server.
- trust
Settings TrustSettings - Defines server trust settings for the endpoint.
- version string
- Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.
- address str
- The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).
- endpoint_
type str - Type of connection endpoint.
- additional_
configuration str - Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).
- authentication
Host
Authentication - Defines the client authentication mechanism to the server.
- trust_
settings TrustSettings - Defines server trust settings for the endpoint.
- version str
- Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.
- address String
- The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).
- endpoint
Type String - Type of connection endpoint.
- additional
Configuration String - Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).
- authentication Property Map
- Defines the client authentication mechanism to the server.
- trust
Settings Property Map - Defines server trust settings for the endpoint.
- version String
- Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.
InboundEndpointsResponse, InboundEndpointsResponseArgs
- Address string
- The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).
- Endpoint
Type string - Type of connection endpoint.
- Additional
Configuration string - Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).
- Authentication
Pulumi.
Azure Native. Device Registry. Inputs. Host Authentication Response - Defines the client authentication mechanism to the server.
- Trust
Settings Pulumi.Azure Native. Device Registry. Inputs. Trust Settings Response - Defines server trust settings for the endpoint.
- Version string
- Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.
- Address string
- The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).
- Endpoint
Type string - Type of connection endpoint.
- Additional
Configuration string - Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).
- Authentication
Host
Authentication Response - Defines the client authentication mechanism to the server.
- Trust
Settings TrustSettings Response - Defines server trust settings for the endpoint.
- Version string
- Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.
- address String
- The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).
- endpoint
Type String - Type of connection endpoint.
- additional
Configuration String - Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).
- authentication
Host
Authentication Response - Defines the client authentication mechanism to the server.
- trust
Settings TrustSettings Response - Defines server trust settings for the endpoint.
- version String
- Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.
- address string
- The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).
- endpoint
Type string - Type of connection endpoint.
- additional
Configuration string - Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).
- authentication
Host
Authentication Response - Defines the client authentication mechanism to the server.
- trust
Settings TrustSettings Response - Defines server trust settings for the endpoint.
- version string
- Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.
- address str
- The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).
- endpoint_
type str - Type of connection endpoint.
- additional_
configuration str - Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).
- authentication
Host
Authentication Response - Defines the client authentication mechanism to the server.
- trust_
settings TrustSettings Response - Defines server trust settings for the endpoint.
- version str
- Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.
- address String
- The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).
- endpoint
Type String - Type of connection endpoint.
- additional
Configuration String - Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).
- authentication Property Map
- Defines the client authentication mechanism to the server.
- trust
Settings Property Map - Defines server trust settings for the endpoint.
- version String
- Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.
MessagingEndpoints, MessagingEndpointsArgs
- Inbound
Dictionary<string, Pulumi.
Azure Native. Device Registry. Inputs. Inbound Endpoints> - Set of endpoints to connect to the device.
- Outbound
Pulumi.
Azure Native. Device Registry. Inputs. Outbound Endpoints - Set of endpoints a device can connect to.
- Inbound
map[string]Inbound
Endpoints - Set of endpoints to connect to the device.
- Outbound
Outbound
Endpoints - Set of endpoints a device can connect to.
- inbound
Map<String,Inbound
Endpoints> - Set of endpoints to connect to the device.
- outbound
Outbound
Endpoints - Set of endpoints a device can connect to.
- inbound
{[key: string]: Inbound
Endpoints} - Set of endpoints to connect to the device.
- outbound
Outbound
Endpoints - Set of endpoints a device can connect to.
- inbound
Mapping[str, Inbound
Endpoints] - Set of endpoints to connect to the device.
- outbound
Outbound
Endpoints - Set of endpoints a device can connect to.
- inbound Map<Property Map>
- Set of endpoints to connect to the device.
- outbound Property Map
- Set of endpoints a device can connect to.
MessagingEndpointsResponse, MessagingEndpointsResponseArgs
- Inbound
Dictionary<string, Pulumi.
Azure Native. Device Registry. Inputs. Inbound Endpoints Response> - Set of endpoints to connect to the device.
- Outbound
Pulumi.
Azure Native. Device Registry. Inputs. Outbound Endpoints Response - Set of endpoints a device can connect to.
- Inbound
map[string]Inbound
Endpoints Response - Set of endpoints to connect to the device.
- Outbound
Outbound
Endpoints Response - Set of endpoints a device can connect to.
- inbound
Map<String,Inbound
Endpoints Response> - Set of endpoints to connect to the device.
- outbound
Outbound
Endpoints Response - Set of endpoints a device can connect to.
- inbound
{[key: string]: Inbound
Endpoints Response} - Set of endpoints to connect to the device.
- outbound
Outbound
Endpoints Response - Set of endpoints a device can connect to.
- inbound
Mapping[str, Inbound
Endpoints Response] - Set of endpoints to connect to the device.
- outbound
Outbound
Endpoints Response - Set of endpoints a device can connect to.
- inbound Map<Property Map>
- Set of endpoints to connect to the device.
- outbound Property Map
- Set of endpoints a device can connect to.
OutboundEndpoints, OutboundEndpointsArgs
- Assigned
Dictionary<string, Pulumi.
Azure Native. Device Registry. Inputs. Device Messaging Endpoint> - Endpoints the device can connect to.
- Unassigned
Dictionary<string, Pulumi.
Azure Native. Device Registry. Inputs. Device Messaging Endpoint> - Set of most recently removed endpoints.
- Assigned
map[string]Device
Messaging Endpoint - Endpoints the device can connect to.
- Unassigned
map[string]Device
Messaging Endpoint - Set of most recently removed endpoints.
- assigned
Map<String,Device
Messaging Endpoint> - Endpoints the device can connect to.
- unassigned
Map<String,Device
Messaging Endpoint> - Set of most recently removed endpoints.
- assigned
{[key: string]: Device
Messaging Endpoint} - Endpoints the device can connect to.
- unassigned
{[key: string]: Device
Messaging Endpoint} - Set of most recently removed endpoints.
- assigned
Mapping[str, Device
Messaging Endpoint] - Endpoints the device can connect to.
- unassigned
Mapping[str, Device
Messaging Endpoint] - Set of most recently removed endpoints.
- assigned Map<Property Map>
- Endpoints the device can connect to.
- unassigned Map<Property Map>
- Set of most recently removed endpoints.
OutboundEndpointsResponse, OutboundEndpointsResponseArgs
- Assigned
Dictionary<string, Pulumi.
Azure Native. Device Registry. Inputs. Device Messaging Endpoint Response> - Endpoints the device can connect to.
- Unassigned
Dictionary<string, Pulumi.
Azure Native. Device Registry. Inputs. Device Messaging Endpoint Response> - Set of most recently removed endpoints.
- Assigned
map[string]Device
Messaging Endpoint Response - Endpoints the device can connect to.
- Unassigned
map[string]Device
Messaging Endpoint Response - Set of most recently removed endpoints.
- assigned
Map<String,Device
Messaging Endpoint Response> - Endpoints the device can connect to.
- unassigned
Map<String,Device
Messaging Endpoint Response> - Set of most recently removed endpoints.
- assigned
{[key: string]: Device
Messaging Endpoint Response} - Endpoints the device can connect to.
- unassigned
{[key: string]: Device
Messaging Endpoint Response} - Set of most recently removed endpoints.
- assigned
Mapping[str, Device
Messaging Endpoint Response] - Endpoints the device can connect to.
- unassigned
Mapping[str, Device
Messaging Endpoint Response] - Set of most recently removed endpoints.
- assigned Map<Property Map>
- Endpoints the device can connect to.
- unassigned Map<Property Map>
- Set of most recently removed endpoints.
StatusConfigResponse, StatusConfigResponseArgs
- Error
Pulumi.
Azure Native. Device Registry. Inputs. Status Error Response - Object to transfer and persist errors that originate from the edge.
- Last
Transition stringTime - A read-only timestamp indicating the last time the configuration has been modified from the perspective of the current actual (edge) state of the CRD. Edge would be the only writer of this value and would sync back up to the cloud.
- 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 CRD. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.
- Error
Status
Error Response - Object to transfer and persist errors that originate from the edge.
- Last
Transition stringTime - A read-only timestamp indicating the last time the configuration has been modified from the perspective of the current actual (edge) state of the CRD. Edge would be the only writer of this value and would sync back up to the cloud.
- 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 CRD. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.
- error
Status
Error Response - Object to transfer and persist errors that originate from the edge.
- last
Transition StringTime - A read-only timestamp indicating the last time the configuration has been modified from the perspective of the current actual (edge) state of the CRD. Edge would be the only writer of this value and would sync back up to the cloud.
- 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 CRD. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.
- error
Status
Error Response - Object to transfer and persist errors that originate from the edge.
- last
Transition stringTime - A read-only timestamp indicating the last time the configuration has been modified from the perspective of the current actual (edge) state of the CRD. Edge would be the only writer of this value and would sync back up to the cloud.
- 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 CRD. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.
- error
Status
Error Response - Object to transfer and persist errors that originate from the edge.
- last_
transition_ strtime - A read-only timestamp indicating the last time the configuration has been modified from the perspective of the current actual (edge) state of the CRD. Edge would be the only writer of this value and would sync back up to the cloud.
- 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 CRD. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.
- error Property Map
- Object to transfer and persist errors that originate from the edge.
- last
Transition StringTime - A read-only timestamp indicating the last time the configuration has been modified from the perspective of the current actual (edge) state of the CRD. Edge would be the only writer of this value and would sync back up to the cloud.
- 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 CRD. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.
StatusErrorResponse, StatusErrorResponseArgs
- Code string
- Error code for classification of errors (ex: '400', '404', '500', etc.).
- Details
List<Pulumi.
Azure Native. Device Registry. Inputs. Error Details Response> - Array of error details that describe the status of each error.
- Message string
- Human-readable helpful error message to provide additional context for error (e.g.,: “Capability ID 'foo' does not exist”).
- Code string
- Error code for classification of errors (ex: '400', '404', '500', etc.).
- Details
[]Error
Details Response - Array of error details that describe the status of each error.
- Message string
- Human-readable helpful error message to provide additional context for error (e.g.,: “Capability ID 'foo' does not exist”).
- code String
- Error code for classification of errors (ex: '400', '404', '500', etc.).
- details
List<Error
Details Response> - Array of error details that describe the status of each error.
- message String
- Human-readable helpful error message to provide additional context for error (e.g.,: “Capability ID 'foo' does not exist”).
- code string
- Error code for classification of errors (ex: '400', '404', '500', etc.).
- details
Error
Details Response[] - Array of error details that describe the status of each error.
- message string
- Human-readable helpful error message to provide additional context for error (e.g.,: “Capability ID 'foo' does not exist”).
- code str
- Error code for classification of errors (ex: '400', '404', '500', etc.).
- details
Sequence[Error
Details Response] - Array of error details that describe the status of each error.
- message str
- Human-readable helpful error message to provide additional context for error (e.g.,: “Capability ID 'foo' does not exist”).
- code String
- Error code for classification of errors (ex: '400', '404', '500', etc.).
- details List<Property Map>
- Array of error details that describe the status of each error.
- message String
- Human-readable helpful error message to provide additional context for error (e.g.,: “Capability ID 'foo' does not exist”).
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
TrustSettings, TrustSettingsArgs
- Trust
List string - Defines a secret reference for certificates to trust.
- Trust
List string - Defines a secret reference for certificates to trust.
- trust
List String - Defines a secret reference for certificates to trust.
- trust
List string - Defines a secret reference for certificates to trust.
- trust_
list str - Defines a secret reference for certificates to trust.
- trust
List String - Defines a secret reference for certificates to trust.
TrustSettingsResponse, TrustSettingsResponseArgs
- Trust
List string - Defines a secret reference for certificates to trust.
- Trust
List string - Defines a secret reference for certificates to trust.
- trust
List String - Defines a secret reference for certificates to trust.
- trust
List string - Defines a secret reference for certificates to trust.
- trust_
list str - Defines a secret reference for certificates to trust.
- trust
List String - Defines a secret reference for certificates to trust.
UsernamePasswordCredentials, UsernamePasswordCredentialsArgs
- Password
Secret stringName - The name of the secret containing the password.
- Username
Secret stringName - The name of the secret containing the username.
- Password
Secret stringName - The name of the secret containing the password.
- Username
Secret stringName - The name of the secret containing the username.
- password
Secret StringName - The name of the secret containing the password.
- username
Secret StringName - The name of the secret containing the username.
- password
Secret stringName - The name of the secret containing the password.
- username
Secret stringName - The name of the secret containing the username.
- password_
secret_ strname - The name of the secret containing the password.
- username_
secret_ strname - The name of the secret containing the username.
- password
Secret StringName - The name of the secret containing the password.
- username
Secret StringName - The name of the secret containing the username.
UsernamePasswordCredentialsResponse, UsernamePasswordCredentialsResponseArgs
- Password
Secret stringName - The name of the secret containing the password.
- Username
Secret stringName - The name of the secret containing the username.
- Password
Secret stringName - The name of the secret containing the password.
- Username
Secret stringName - The name of the secret containing the username.
- password
Secret StringName - The name of the secret containing the password.
- username
Secret StringName - The name of the secret containing the username.
- password
Secret stringName - The name of the secret containing the password.
- username
Secret stringName - The name of the secret containing the username.
- password_
secret_ strname - The name of the secret containing the password.
- username_
secret_ strname - The name of the secret containing the username.
- password
Secret StringName - The name of the secret containing the password.
- username
Secret StringName - The name of the secret containing the username.
X509Credentials, X509CredentialsArgs
- Certificate
Secret stringName - The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
- Certificate
Secret stringName - The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
- certificate
Secret StringName - The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
- certificate
Secret stringName - The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
- certificate_
secret_ strname - The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
- certificate
Secret StringName - The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
X509CredentialsResponse, X509CredentialsResponseArgs
- Certificate
Secret stringName - The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
- Certificate
Secret stringName - The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
- certificate
Secret StringName - The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
- certificate
Secret stringName - The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
- certificate_
secret_ strname - The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
- certificate
Secret StringName - The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:deviceregistry:NamespaceDevice adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0