IoTAddonArgs

data class IoTAddonArgs(val addonName: Output<String>? = null, val deviceName: Output<String>? = null, val ioTDeviceDetails: Output<IoTDeviceInfoArgs>? = null, val ioTEdgeDeviceDetails: Output<IoTDeviceInfoArgs>? = null, val kind: Output<String>? = null, val resourceGroupName: Output<String>? = null, val roleName: Output<String>? = null) : ConvertibleToJava<IoTAddonArgs>

IoT Addon. Uses Azure REST API version 2023-07-01. In version 2.x of the Azure Native provider, it used API version 2022-03-01.

Example Usage

PutAddOns

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var ioTAddon = new AzureNative.DataBoxEdge.IoTAddon("ioTAddon", new()
{
AddonName = "arcName",
DeviceName = "testedgedevice",
ResourceGroupName = "GroupForEdgeAutomation",
RoleName = "KubernetesRole",
});
});
package main
import (
databoxedge "github.com/pulumi/pulumi-azure-native-sdk/databoxedge/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databoxedge.NewIoTAddon(ctx, "ioTAddon", &databoxedge.IoTAddonArgs{
AddonName: pulumi.String("arcName"),
DeviceName: pulumi.String("testedgedevice"),
ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
RoleName: pulumi.String("KubernetesRole"),
})
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.databoxedge.IoTAddon;
import com.pulumi.azurenative.databoxedge.IoTAddonArgs;
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 ioTAddon = new IoTAddon("ioTAddon", IoTAddonArgs.builder()
.addonName("arcName")
.deviceName("testedgedevice")
.resourceGroupName("GroupForEdgeAutomation")
.roleName("KubernetesRole")
.build());
}
}

Import

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

$ pulumi import azure-native:databoxedge:IoTAddon arcName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}

Constructors

Link copied to clipboard
constructor(addonName: Output<String>? = null, deviceName: Output<String>? = null, ioTDeviceDetails: Output<IoTDeviceInfoArgs>? = null, ioTEdgeDeviceDetails: Output<IoTDeviceInfoArgs>? = null, kind: Output<String>? = null, resourceGroupName: Output<String>? = null, roleName: Output<String>? = null)

Properties

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

The addon name.

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

The device name.

Link copied to clipboard
val ioTDeviceDetails: Output<IoTDeviceInfoArgs>? = null

IoT device metadata to which appliance needs to be connected.

Link copied to clipboard

IoT edge device to which the IoT Addon needs to be configured.

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

Addon type. Expected value is 'IotEdge'.

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

The resource group name.

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

The role name.

Functions

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