Controller

class Controller : KotlinCustomResource

Uses Azure REST API version 2019-04-01. In version 2.x of the Azure Native provider, it used API version 2019-04-01.

Example Usage

ControllersCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var controller = new AzureNative.DevSpaces.Controller("controller", new()
{
Location = "eastus",
Name = "myControllerResource",
ResourceGroupName = "myResourceGroup",
Sku = new AzureNative.DevSpaces.Inputs.SkuArgs
{
Name = AzureNative.DevSpaces.SkuName.S1,
Tier = AzureNative.DevSpaces.SkuTier.Standard,
},
Tags = null,
TargetContainerHostCredentialsBase64 = "QmFzZTY0IEVuY29kZWQgVmFsdWUK",
TargetContainerHostResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster",
});
});
package main
import (
devspaces "github.com/pulumi/pulumi-azure-native-sdk/devspaces/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := devspaces.NewController(ctx, "controller", &devspaces.ControllerArgs{
Location: pulumi.String("eastus"),
Name: pulumi.String("myControllerResource"),
ResourceGroupName: pulumi.String("myResourceGroup"),
Sku: &devspaces.SkuArgs{
Name: pulumi.String(devspaces.SkuNameS1),
Tier: pulumi.String(devspaces.SkuTierStandard),
},
Tags: pulumi.StringMap{},
TargetContainerHostCredentialsBase64: pulumi.String("QmFzZTY0IEVuY29kZWQgVmFsdWUK"),
TargetContainerHostResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"),
})
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.devspaces.Controller;
import com.pulumi.azurenative.devspaces.ControllerArgs;
import com.pulumi.azurenative.devspaces.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 controller = new Controller("controller", ControllerArgs.builder()
.location("eastus")
.name("myControllerResource")
.resourceGroupName("myResourceGroup")
.sku(SkuArgs.builder()
.name("S1")
.tier("Standard")
.build())
.tags(Map.ofEntries(
))
.targetContainerHostCredentialsBase64("QmFzZTY0IEVuY29kZWQgVmFsdWUK")
.targetContainerHostResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster")
.build());
}
}

Import

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

$ pulumi import azure-native:devspaces:Controller myControllerResource /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val dataPlaneFqdn: Output<String>

DNS name for accessing DataPlane services

Link copied to clipboard
val hostSuffix: Output<String>

DNS suffix for public endpoints running in the Azure Dev Spaces Controller.

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

Region where the Azure resource is located.

Link copied to clipboard
val name: Output<String>

The name of the resource.

Link copied to clipboard

Provisioning state of the Azure Dev Spaces Controller.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sku: Output<SkuResponse>

Model representing SKU for Azure Dev Spaces Controller.

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

Tags for the Azure resource.

Link copied to clipboard

DNS of the target container host's API server

Link copied to clipboard

Resource ID of the target container host

Link copied to clipboard
val type: Output<String>

The type of the resource.

Link copied to clipboard
val urn: Output<String>