ArcAddonArgs

data class ArcAddonArgs(val addonName: Output<String>? = null, val deviceName: Output<String>? = null, val kind: Output<String>? = null, val resourceGroupName: Output<String>? = null, val resourceLocation: Output<String>? = null, val resourceName: Output<String>? = null, val roleName: Output<String>? = null, val subscriptionId: Output<String>? = null) : ConvertibleToJava<ArcAddonArgs>

Arc 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 arcAddon = new AzureNative.DataBoxEdge.ArcAddon("arcAddon", new()
{
AddonName = "arcName",
DeviceName = "testedgedevice",
Kind = "ArcForKubernetes",
ResourceGroupName = "GroupForEdgeAutomation",
ResourceLocation = "EastUS",
ResourceName = "testedgedevice",
RoleName = "KubernetesRole",
SubscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce",
});
});
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.NewArcAddon(ctx, "arcAddon", &databoxedge.ArcAddonArgs{
AddonName: pulumi.String("arcName"),
DeviceName: pulumi.String("testedgedevice"),
Kind: pulumi.String("ArcForKubernetes"),
ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
ResourceLocation: pulumi.String("EastUS"),
ResourceName: pulumi.String("testedgedevice"),
RoleName: pulumi.String("KubernetesRole"),
SubscriptionId: pulumi.String("4385cf00-2d3a-425a-832f-f4285b1c9dce"),
})
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.ArcAddon;
import com.pulumi.azurenative.databoxedge.ArcAddonArgs;
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 arcAddon = new ArcAddon("arcAddon", ArcAddonArgs.builder()
.addonName("arcName")
.deviceName("testedgedevice")
.kind("ArcForKubernetes")
.resourceGroupName("GroupForEdgeAutomation")
.resourceLocation("EastUS")
.resourceName("testedgedevice")
.roleName("KubernetesRole")
.subscriptionId("4385cf00-2d3a-425a-832f-f4285b1c9dce")
.build());
}
}

Import

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

$ pulumi import azure-native:databoxedge:ArcAddon 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, kind: Output<String>? = null, resourceGroupName: Output<String>? = null, resourceLocation: Output<String>? = null, resourceName: Output<String>? = null, roleName: Output<String>? = null, subscriptionId: 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 kind: Output<String>? = null

Addon type. Expected value is 'ArcForKubernetes'.

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

The resource group name.

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

Arc resource location

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

Arc resource Name

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

The role name.

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

Arc resource subscription Id

Functions

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