DiscoveredAssetEndpointProfileArgs

data class DiscoveredAssetEndpointProfileArgs(val additionalConfiguration: Output<String>? = null, val discoveredAssetEndpointProfileName: Output<String>? = null, val discoveryId: Output<String>? = null, val endpointProfileType: Output<String>? = null, val extendedLocation: Output<ExtendedLocationArgs>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val supportedAuthenticationMethods: Output<List<Either<String, AuthenticationMethod>>>? = null, val tags: Output<Map<String, String>>? = null, val targetAddress: Output<String>? = null, val version: Output<Double>? = null) : ConvertibleToJava<DiscoveredAssetEndpointProfileArgs>

Discovered Asset Endpoint Profile definition. Uses Azure REST API version 2024-09-01-preview. In version 2.x of the Azure Native provider, it used API version 2024-09-01-preview.

Example Usage

Create_DiscoveredAssetEndpointProfile

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var discoveredAssetEndpointProfile = new AzureNative.DeviceRegistry.DiscoveredAssetEndpointProfile("discoveredAssetEndpointProfile", new()
{
AdditionalConfiguration = "{\"foo\": \"bar\"}",
DiscoveredAssetEndpointProfileName = "my-discoveredassetendpointprofile",
DiscoveryId = "11111111-1111-1111-1111-111111111111",
EndpointProfileType = "myEndpointProfileType",
ExtendedLocation = new AzureNative.DeviceRegistry.Inputs.ExtendedLocationArgs
{
Name = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1",
Type = "CustomLocation",
},
Location = "West Europe",
ResourceGroupName = "myResourceGroup",
SupportedAuthenticationMethods = new[]
{
AzureNative.DeviceRegistry.AuthenticationMethod.Anonymous,
AzureNative.DeviceRegistry.AuthenticationMethod.Certificate,
AzureNative.DeviceRegistry.AuthenticationMethod.UsernamePassword,
},
Tags =
{
{ "site", "building-1" },
},
TargetAddress = "https://www.example.com/myTargetAddress",
Version = 73766,
});
});
package main
import (
deviceregistry "github.com/pulumi/pulumi-azure-native-sdk/deviceregistry/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := deviceregistry.NewDiscoveredAssetEndpointProfile(ctx, "discoveredAssetEndpointProfile", &deviceregistry.DiscoveredAssetEndpointProfileArgs{
AdditionalConfiguration: pulumi.String("{\"foo\": \"bar\"}"),
DiscoveredAssetEndpointProfileName: pulumi.String("my-discoveredassetendpointprofile"),
DiscoveryId: pulumi.String("11111111-1111-1111-1111-111111111111"),
EndpointProfileType: pulumi.String("myEndpointProfileType"),
ExtendedLocation: &deviceregistry.ExtendedLocationArgs{
Name: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"),
Type: pulumi.String("CustomLocation"),
},
Location: pulumi.String("West Europe"),
ResourceGroupName: pulumi.String("myResourceGroup"),
SupportedAuthenticationMethods: pulumi.StringArray{
pulumi.String(deviceregistry.AuthenticationMethodAnonymous),
pulumi.String(deviceregistry.AuthenticationMethodCertificate),
pulumi.String(deviceregistry.AuthenticationMethodUsernamePassword),
},
Tags: pulumi.StringMap{
"site": pulumi.String("building-1"),
},
TargetAddress: pulumi.String("https://www.example.com/myTargetAddress"),
Version: pulumi.Float64(73766),
})
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.DiscoveredAssetEndpointProfile;
import com.pulumi.azurenative.deviceregistry.DiscoveredAssetEndpointProfileArgs;
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 discoveredAssetEndpointProfile = new DiscoveredAssetEndpointProfile("discoveredAssetEndpointProfile", DiscoveredAssetEndpointProfileArgs.builder()
.additionalConfiguration("{\"foo\": \"bar\"}")
.discoveredAssetEndpointProfileName("my-discoveredassetendpointprofile")
.discoveryId("11111111-1111-1111-1111-111111111111")
.endpointProfileType("myEndpointProfileType")
.extendedLocation(ExtendedLocationArgs.builder()
.name("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1")
.type("CustomLocation")
.build())
.location("West Europe")
.resourceGroupName("myResourceGroup")
.supportedAuthenticationMethods(
"Anonymous",
"Certificate",
"UsernamePassword")
.tags(Map.of("site", "building-1"))
.targetAddress("https://www.example.com/myTargetAddress")
.version(73766)
.build());
}
}

Import

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

$ pulumi import azure-native:deviceregistry:DiscoveredAssetEndpointProfile my-assetendpointprofile /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/discoveredAssetEndpointProfiles/{discoveredAssetEndpointProfileName}

Constructors

Link copied to clipboard
constructor(additionalConfiguration: Output<String>? = null, discoveredAssetEndpointProfileName: Output<String>? = null, discoveryId: Output<String>? = null, endpointProfileType: Output<String>? = null, extendedLocation: Output<ExtendedLocationArgs>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, supportedAuthenticationMethods: Output<List<Either<String, AuthenticationMethod>>>? = null, tags: Output<Map<String, String>>? = null, targetAddress: Output<String>? = null, version: Output<Double>? = null)

Properties

Link copied to clipboard
val additionalConfiguration: Output<String>? = null

Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).

Link copied to clipboard

Discovered Asset Endpoint Profile name parameter.

Link copied to clipboard
val discoveryId: Output<String>? = null

Identifier used to detect changes in the asset endpoint profile.

Link copied to clipboard
val endpointProfileType: Output<String>? = null

Defines the configuration for the connector type that is being used with the endpoint profile.

Link copied to clipboard

The extended location.

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard

List of supported authentication methods supported by the target server.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Link copied to clipboard
val targetAddress: Output<String>? = null

The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.

Link copied to clipboard
val version: Output<Double>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): DiscoveredAssetEndpointProfileArgs