Device Args
data class DeviceArgs(val dataBoxEdgeDeviceStatus: Output<Either<String, DataBoxEdgeDeviceStatus>>? = null, val deviceName: Output<String>? = null, val identity: Output<ResourceIdentityArgs>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<SkuArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DeviceArgs>
The Data Box Edge/Gateway device. API Version: 2020-12-01.
Example Usage
DataBoxEdgeDevicePut
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var device = new AzureNative.DataBoxEdge.Device("device", new()
{
DeviceName = "testedgedevice",
Location = "WUS",
ResourceGroupName = "GroupForEdgeAutomation",
Sku = new AzureNative.DataBoxEdge.Inputs.SkuArgs
{
Name = "Edge",
Tier = "Standard",
},
Tags = null,
});
});
Content copied to clipboard
package main
import (
databoxedge "github.com/pulumi/pulumi-azure-native-sdk/databoxedge"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databoxedge.NewDevice(ctx, "device", &databoxedge.DeviceArgs{
DeviceName: pulumi.String("testedgedevice"),
Location: pulumi.String("WUS"),
ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
Sku: &databoxedge.SkuArgs{
Name: pulumi.String("Edge"),
Tier: pulumi.String("Standard"),
},
Tags: nil,
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.databoxedge.Device;
import com.pulumi.azurenative.databoxedge.DeviceArgs;
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 device = new Device("device", DeviceArgs.builder()
.deviceName("testedgedevice")
.location("WUS")
.resourceGroupName("GroupForEdgeAutomation")
.sku(Map.ofEntries(
Map.entry("name", "Edge"),
Map.entry("tier", "Standard")
))
.tags()
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:databoxedge:Device testedgedevice /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(dataBoxEdgeDeviceStatus: Output<Either<String, DataBoxEdgeDeviceStatus>>? = null, deviceName: Output<String>? = null, identity: Output<ResourceIdentityArgs>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, sku: Output<SkuArgs>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
The status of the Data Box Edge/Gateway device.
Link copied to clipboard
The device name.
Link copied to clipboard
Msi identity of the resource
Link copied to clipboard
The location of the device. This is a supported and registered Azure geographical region (for example, West US, East US, or Southeast Asia). The geographical region of a device cannot be changed once it is created, but if an identical geographical region is specified on update, the request will succeed.
Link copied to clipboard
The resource group name.