Controller
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",
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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}
Content copied to clipboard
Properties
Link copied to clipboard
The Azure API version of the resource.
Link copied to clipboard
DNS name for accessing DataPlane services
Link copied to clipboard
DNS suffix for public endpoints running in the Azure Dev Spaces Controller.
Link copied to clipboard
Provisioning state of the Azure Dev Spaces Controller.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Model representing SKU for Azure Dev Spaces Controller.
Link copied to clipboard
DNS of the target container host's API server
Link copied to clipboard
Resource ID of the target container host