Azure Native

v1.87.0 published on Tuesday, Nov 22, 2022 by Pulumi

Controller

API Version: 2019-04-01.

Example Usage

ControllersCreate

using System.Collections.Generic;
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 = "S1",
            Tier = "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/go/azure/devspaces"
	"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("S1"),
				Tier: pulumi.String("Standard"),
			},
			Tags:                                 nil,
			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 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(Map.ofEntries(
                Map.entry("name", "S1"),
                Map.entry("tier", "Standard")
            ))
            .tags()
            .targetContainerHostCredentialsBase64("QmFzZTY0IEVuY29kZWQgVmFsdWUK")
            .targetContainerHostResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

controller = azure_native.devspaces.Controller("controller",
    location="eastus",
    name="myControllerResource",
    resource_group_name="myResourceGroup",
    sku=azure_native.devspaces.SkuArgs(
        name="S1",
        tier="Standard",
    ),
    tags={},
    target_container_host_credentials_base64="QmFzZTY0IEVuY29kZWQgVmFsdWUK",
    target_container_host_resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const controller = new azure_native.devspaces.Controller("controller", {
    location: "eastus",
    name: "myControllerResource",
    resourceGroupName: "myResourceGroup",
    sku: {
        name: "S1",
        tier: "Standard",
    },
    tags: {},
    targetContainerHostCredentialsBase64: "QmFzZTY0IEVuY29kZWQgVmFsdWUK",
    targetContainerHostResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster",
});
resources:
  controller:
    type: azure-native:devspaces:Controller
    properties:
      location: eastus
      name: myControllerResource
      resourceGroupName: myResourceGroup
      sku:
        name: S1
        tier: Standard
      tags: {}
      targetContainerHostCredentialsBase64: QmFzZTY0IEVuY29kZWQgVmFsdWUK
      targetContainerHostResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster

Create Controller Resource

new Controller(name: string, args: ControllerArgs, opts?: CustomResourceOptions);
@overload
def Controller(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               location: Optional[str] = None,
               name: Optional[str] = None,
               resource_group_name: Optional[str] = None,
               sku: Optional[SkuArgs] = None,
               tags: Optional[Mapping[str, str]] = None,
               target_container_host_credentials_base64: Optional[str] = None,
               target_container_host_resource_id: Optional[str] = None)
@overload
def Controller(resource_name: str,
               args: ControllerArgs,
               opts: Optional[ResourceOptions] = None)
func NewController(ctx *Context, name string, args ControllerArgs, opts ...ResourceOption) (*Controller, error)
public Controller(string name, ControllerArgs args, CustomResourceOptions? opts = null)
public Controller(String name, ControllerArgs args)
public Controller(String name, ControllerArgs args, CustomResourceOptions options)
type: azure-native:devspaces:Controller
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ControllerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ControllerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ControllerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ControllerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ControllerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Controller Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Controller resource accepts the following input properties:

ResourceGroupName string

Resource group to which the resource belongs.

Sku Pulumi.AzureNative.DevSpaces.Inputs.SkuArgs

Model representing SKU for Azure Dev Spaces Controller.

TargetContainerHostCredentialsBase64 string

Credentials of the target container host (base64).

TargetContainerHostResourceId string

Resource ID of the target container host

Location string

Region where the Azure resource is located.

Name string

Name of the resource.

Tags Dictionary<string, string>

Tags for the Azure resource.

ResourceGroupName string

Resource group to which the resource belongs.

Sku SkuArgs

Model representing SKU for Azure Dev Spaces Controller.

TargetContainerHostCredentialsBase64 string

Credentials of the target container host (base64).

TargetContainerHostResourceId string

Resource ID of the target container host

Location string

Region where the Azure resource is located.

Name string

Name of the resource.

Tags map[string]string

Tags for the Azure resource.

resourceGroupName String

Resource group to which the resource belongs.

sku SkuArgs

Model representing SKU for Azure Dev Spaces Controller.

targetContainerHostCredentialsBase64 String

Credentials of the target container host (base64).

targetContainerHostResourceId String

Resource ID of the target container host

location String

Region where the Azure resource is located.

name String

Name of the resource.

tags Map<String,String>

Tags for the Azure resource.

resourceGroupName string

Resource group to which the resource belongs.

sku SkuArgs

Model representing SKU for Azure Dev Spaces Controller.

targetContainerHostCredentialsBase64 string

Credentials of the target container host (base64).

targetContainerHostResourceId string

Resource ID of the target container host

location string

Region where the Azure resource is located.

name string

Name of the resource.

tags {[key: string]: string}

Tags for the Azure resource.

resource_group_name str

Resource group to which the resource belongs.

sku SkuArgs

Model representing SKU for Azure Dev Spaces Controller.

target_container_host_credentials_base64 str

Credentials of the target container host (base64).

target_container_host_resource_id str

Resource ID of the target container host

location str

Region where the Azure resource is located.

name str

Name of the resource.

tags Mapping[str, str]

Tags for the Azure resource.

resourceGroupName String

Resource group to which the resource belongs.

sku Property Map

Model representing SKU for Azure Dev Spaces Controller.

targetContainerHostCredentialsBase64 String

Credentials of the target container host (base64).

targetContainerHostResourceId String

Resource ID of the target container host

location String

Region where the Azure resource is located.

name String

Name of the resource.

tags Map<String>

Tags for the Azure resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the Controller resource produces the following output properties:

DataPlaneFqdn string

DNS name for accessing DataPlane services

HostSuffix string

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

Id string

The provider-assigned unique ID for this managed resource.

ProvisioningState string

Provisioning state of the Azure Dev Spaces Controller.

TargetContainerHostApiServerFqdn string

DNS of the target container host's API server

Type string

The type of the resource.

DataPlaneFqdn string

DNS name for accessing DataPlane services

HostSuffix string

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

Id string

The provider-assigned unique ID for this managed resource.

ProvisioningState string

Provisioning state of the Azure Dev Spaces Controller.

TargetContainerHostApiServerFqdn string

DNS of the target container host's API server

Type string

The type of the resource.

dataPlaneFqdn String

DNS name for accessing DataPlane services

hostSuffix String

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

id String

The provider-assigned unique ID for this managed resource.

provisioningState String

Provisioning state of the Azure Dev Spaces Controller.

targetContainerHostApiServerFqdn String

DNS of the target container host's API server

type String

The type of the resource.

dataPlaneFqdn string

DNS name for accessing DataPlane services

hostSuffix string

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

id string

The provider-assigned unique ID for this managed resource.

provisioningState string

Provisioning state of the Azure Dev Spaces Controller.

targetContainerHostApiServerFqdn string

DNS of the target container host's API server

type string

The type of the resource.

data_plane_fqdn str

DNS name for accessing DataPlane services

host_suffix str

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

id str

The provider-assigned unique ID for this managed resource.

provisioning_state str

Provisioning state of the Azure Dev Spaces Controller.

target_container_host_api_server_fqdn str

DNS of the target container host's API server

type str

The type of the resource.

dataPlaneFqdn String

DNS name for accessing DataPlane services

hostSuffix String

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

id String

The provider-assigned unique ID for this managed resource.

provisioningState String

Provisioning state of the Azure Dev Spaces Controller.

targetContainerHostApiServerFqdn String

DNS of the target container host's API server

type String

The type of the resource.

Supporting Types

Sku

Name string | Pulumi.AzureNative.DevSpaces.SkuName

The name of the SKU for Azure Dev Spaces Controller.

Tier string | Pulumi.AzureNative.DevSpaces.SkuTier

The tier of the SKU for Azure Dev Spaces Controller.

Name string | SkuName

The name of the SKU for Azure Dev Spaces Controller.

Tier string | SkuTier

The tier of the SKU for Azure Dev Spaces Controller.

name String | SkuName

The name of the SKU for Azure Dev Spaces Controller.

tier String | SkuTier

The tier of the SKU for Azure Dev Spaces Controller.

name string | SkuName

The name of the SKU for Azure Dev Spaces Controller.

tier string | SkuTier

The tier of the SKU for Azure Dev Spaces Controller.

name str | SkuName

The name of the SKU for Azure Dev Spaces Controller.

tier str | SkuTier

The tier of the SKU for Azure Dev Spaces Controller.

name String | "S1"

The name of the SKU for Azure Dev Spaces Controller.

tier String | "Standard"

The tier of the SKU for Azure Dev Spaces Controller.

SkuName

S1
S1
SkuNameS1
S1
S1
S1
S1
S1
S1
S1
"S1"
S1

SkuResponse

Name string

The name of the SKU for Azure Dev Spaces Controller.

Tier string

The tier of the SKU for Azure Dev Spaces Controller.

Name string

The name of the SKU for Azure Dev Spaces Controller.

Tier string

The tier of the SKU for Azure Dev Spaces Controller.

name String

The name of the SKU for Azure Dev Spaces Controller.

tier String

The tier of the SKU for Azure Dev Spaces Controller.

name string

The name of the SKU for Azure Dev Spaces Controller.

tier string

The tier of the SKU for Azure Dev Spaces Controller.

name str

The name of the SKU for Azure Dev Spaces Controller.

tier str

The tier of the SKU for Azure Dev Spaces Controller.

name String

The name of the SKU for Azure Dev Spaces Controller.

tier String

The tier of the SKU for Azure Dev Spaces Controller.

SkuTier

Standard
Standard
SkuTierStandard
Standard
Standard
Standard
Standard
Standard
STANDARD
Standard
"Standard"
Standard

Import

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

$ pulumi import azure-native:devspaces:Controller myControllerResource /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0