Device

class Device : KotlinCustomResource

The Data Box Edge/Gateway device. Uses Azure REST API version 2023-07-01. In version 2.x of the Azure Native provider, it used API version 2022-03-01. Other available API versions: 2022-03-01, 2022-04-01-preview, 2022-12-01-preview, 2023-01-01-preview, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native databoxedge [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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 = AzureNative.DataBoxEdge.SkuName.Edge,
Tier = AzureNative.DataBoxEdge.SkuTier.Standard,
},
Tags = null,
});
});
package main
import (
databoxedge "github.com/pulumi/pulumi-azure-native-sdk/databoxedge/v3"
"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(databoxedge.SkuNameEdge),
Tier: pulumi.String(databoxedge.SkuTierStandard),
},
Tags: pulumi.StringMap{},
})
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.Device;
import com.pulumi.azurenative.databoxedge.DeviceArgs;
import com.pulumi.azurenative.databoxedge.inputs.SkuArgs;
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(SkuArgs.builder()
.name("Edge")
.tier("Standard")
.build())
.tags(Map.ofEntries(
))
.build());
}
}

DataBoxEdgeDevicePutWithDataResidency

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()
{
DataResidency = new AzureNative.DataBoxEdge.Inputs.DataResidencyArgs
{
Type = AzureNative.DataBoxEdge.DataResidencyType.ZoneReplication,
},
DeviceName = "testedgedevice",
Location = "WUS",
ResourceGroupName = "GroupForEdgeAutomation",
Sku = new AzureNative.DataBoxEdge.Inputs.SkuArgs
{
Name = AzureNative.DataBoxEdge.SkuName.Edge,
Tier = AzureNative.DataBoxEdge.SkuTier.Standard,
},
Tags = null,
});
});
package main
import (
databoxedge "github.com/pulumi/pulumi-azure-native-sdk/databoxedge/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databoxedge.NewDevice(ctx, "device", &databoxedge.DeviceArgs{
DataResidency: &databoxedge.DataResidencyArgs{
Type: pulumi.String(databoxedge.DataResidencyTypeZoneReplication),
},
DeviceName: pulumi.String("testedgedevice"),
Location: pulumi.String("WUS"),
ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
Sku: &databoxedge.SkuArgs{
Name: pulumi.String(databoxedge.SkuNameEdge),
Tier: pulumi.String(databoxedge.SkuTierStandard),
},
Tags: pulumi.StringMap{},
})
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.Device;
import com.pulumi.azurenative.databoxedge.DeviceArgs;
import com.pulumi.azurenative.databoxedge.inputs.DataResidencyArgs;
import com.pulumi.azurenative.databoxedge.inputs.SkuArgs;
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()
.dataResidency(DataResidencyArgs.builder()
.type("ZoneReplication")
.build())
.deviceName("testedgedevice")
.location("WUS")
.resourceGroupName("GroupForEdgeAutomation")
.sku(SkuArgs.builder()
.name("Edge")
.tier("Standard")
.build())
.tags(Map.ofEntries(
))
.build());
}
}

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}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Type of compute roles configured.

Link copied to clipboard
val culture: Output<String>

The Data Box Edge/Gateway device culture.

Link copied to clipboard

The status of the Data Box Edge/Gateway device.

Link copied to clipboard

The details of data-residency related properties for this resource

Link copied to clipboard
val description: Output<String>

The Description of the Data Box Edge/Gateway device.

Link copied to clipboard

The device software version number of the device (eg: 1.2.18105.6).

Link copied to clipboard

The Data Box Edge/Gateway device local capacity in MB.

Link copied to clipboard
val deviceModel: Output<String>

The Data Box Edge/Gateway device model.

Link copied to clipboard

The Data Box Edge/Gateway device software version.

Link copied to clipboard
val deviceType: Output<String>

The type of the Data Box Edge/Gateway device.

Link copied to clipboard

The details of Edge Profile for this resource

Link copied to clipboard
val etag: Output<String>?

The etag for the devices.

Link copied to clipboard
val friendlyName: Output<String>

The Data Box Edge/Gateway device name.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Msi identity of the resource

Link copied to clipboard
val kind: Output<String>

The kind of the device.

Link copied to clipboard

Kubernetes Workload Profile

Link copied to clipboard
val location: Output<String>

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 description of the Data Box Edge/Gateway device model.

Link copied to clipboard
val name: Output<String>

The object name.

Link copied to clipboard
val nodeCount: Output<Int>

The number of nodes in the cluster.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The details of the move operation on this resource.

Link copied to clipboard
val serialNumber: Output<String>

The Serial Number of Data Box Edge/Gateway device.

Link copied to clipboard
val sku: Output<SkuResponse>?

The SKU type.

Link copied to clipboard

DataBoxEdge Resource

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

The list of tags that describe the device. These tags can be used to view and group this device (across resource groups).

Link copied to clipboard
val timeZone: Output<String>

The Data Box Edge/Gateway device timezone.

Link copied to clipboard
val type: Output<String>

The hierarchical type of the object.

Link copied to clipboard
val urn: Output<String>