Kubernetes Role
Kubernetes role. API Version: 2020-12-01.
Example Usage
RolePut
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var kubernetesRole = new AzureNative.DataBoxEdge.KubernetesRole("kubernetesRole", new()
{
DeviceName = "testedgedevice",
Name = "IoTRole1",
ResourceGroupName = "GroupForEdgeAutomation",
});
});
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.NewKubernetesRole(ctx, "kubernetesRole", &databoxedge.KubernetesRoleArgs{
DeviceName: pulumi.String("testedgedevice"),
Name: pulumi.String("IoTRole1"),
ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
})
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.KubernetesRole;
import com.pulumi.azurenative.databoxedge.KubernetesRoleArgs;
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 kubernetesRole = new KubernetesRole("kubernetesRole", KubernetesRoleArgs.builder()
.deviceName("testedgedevice")
.name("IoTRole1")
.resourceGroupName("GroupForEdgeAutomation")
.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:KubernetesRole IoTRole1 /subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1
Content copied to clipboard
Properties
Link copied to clipboard
Host OS supported by the Kubernetes role.
Link copied to clipboard
Platform where the runtime is hosted.
Link copied to clipboard
Kubernetes cluster configuration
Link copied to clipboard
Kubernetes role resources
Link copied to clipboard
State of Kubernetes deployment
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Role status.
Link copied to clipboard
Role configured on ASE resource