MECRole

class MECRole : KotlinCustomResource

MEC role. 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

RolePut

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var mecRole = new AzureNative.DataBoxEdge.MECRole("mecRole", new()
{
DeviceName = "testedgedevice",
Name = "IoTRole1",
ResourceGroupName = "GroupForEdgeAutomation",
});
});
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.NewMECRole(ctx, "mecRole", &databoxedge.MECRoleArgs{
DeviceName: pulumi.String("testedgedevice"),
Name: pulumi.String("IoTRole1"),
ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
})
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.MECRole;
import com.pulumi.azurenative.databoxedge.MECRoleArgs;
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 mecRole = new MECRole("mecRole", MECRoleArgs.builder()
.deviceName("testedgedevice")
.name("IoTRole1")
.resourceGroupName("GroupForEdgeAutomation")
.build());
}
}

Import

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

$ pulumi import azure-native:databoxedge:MECRole IoTRole1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Activation key of the MEC.

Link copied to clipboard

Controller Endpoint.

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

Role type. Expected value is 'MEC'.

Link copied to clipboard
val name: Output<String>

The object name.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceUniqueId: Output<String>?

Unique Id of the Resource.

Link copied to clipboard
val roleStatus: Output<String>

Role status.

Link copied to clipboard

Metadata pertaining to creation and last modification of Role

Link copied to clipboard
val type: Output<String>

The hierarchical type of the object.

Link copied to clipboard
val urn: Output<String>