Module devspace
@pulumi/azure > devspace
Index ▹
class Controller
extends CustomResource
Manages a DevSpace Controller.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const testResourceGroup = new azure.core.ResourceGroup("test", {
location: "westeurope",
});
const testKubernetesCluster = new azure.containerservice.KubernetesCluster("test", {
agentPoolProfile: {
count: 1,
name: "default",
vmSize: "Standard_DS2_v2",
},
dnsPrefix: "acctestaks1",
location: testResourceGroup.location,
resourceGroupName: testResourceGroup.name,
servicePrincipal: {
clientId: "00000000-0000-0000-0000-000000000000",
clientSecret: "00000000000000000000000000000000",
},
});
const testController = new azure.devspace.Controller("test", {
hostSuffix: "suffix",
location: testResourceGroup.location,
resourceGroupName: testResourceGroup.name,
sku: {
name: "S1",
tier: "Standard",
},
tags: {
Environment: "Testing",
},
targetContainerHostCredentialsBase64: testKubernetesCluster.kubeConfigRaw.apply(kubeConfigRaw => Buffer.from(kubeConfigRaw).toString("base64")),
targetContainerHostResourceId: testKubernetesCluster.id,
});
constructor
new Controller(name: string, args: ControllerArgs, opts?: pulumi.CustomResourceOptions)
Create a Controller resource with the given unique name, arguments, and options.
name
The unique name of the resource.args
The arguments to use to populate this resource's properties.opts
A bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ControllerState, opts?: pulumi.CustomResourceOptions): Controller
Get an existing Controller resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
method isInstance
static isInstance(obj: any): boolean
Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property dataPlaneFqdn
public dataPlaneFqdn: pulumi.Output<string>;
DNS name for accessing DataPlane services.
property hostSuffix
public hostSuffix: pulumi.Output<string>;
The host suffix for the DevSpace Controller. Changing this forces a new resource to be created.
property id
id: Output<ID>;
id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property location
public location: pulumi.Output<string>;
Specifies the supported location where the DevSpace Controller should exist. Changing this forces a new resource to be created.
property name
public name: pulumi.Output<string>;
Specifies the name of the DevSpace Controller. Changing this forces a new resource to be created.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;
The name of the resource group under which the DevSpace Controller resource has to be created. Changing this forces a new resource to be created.
property sku
public sku: pulumi.Output<{ name: string; tier: string; }>;
A sku
block as documented below. Changing this forces a new resource to be created.
property tags
public tags: pulumi.Output<{[key: string]: any}>;
A mapping of tags to assign to the resource.
property targetContainerHostCredentialsBase64
public targetContainerHostCredentialsBase64: pulumi.Output<string>;
Base64 encoding of kube_config_raw
of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.
property targetContainerHostResourceId
public targetContainerHostResourceId: pulumi.Output<string>;
The resource id of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.
property urn
interface ControllerArgs
The set of arguments for constructing a Controller resource.
property hostSuffix
hostSuffix: pulumi.Input<string>;
The host suffix for the DevSpace Controller. Changing this forces a new resource to be created.
property location
location: pulumi.Input<string>;
Specifies the supported location where the DevSpace Controller should exist. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;
Specifies the name of the DevSpace Controller. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;
The name of the resource group under which the DevSpace Controller resource has to be created. Changing this forces a new resource to be created.
property sku
sku: pulumi.Input<{ name: pulumi.Input<string>; tier: pulumi.Input<string>; }>;
A sku
block as documented below. Changing this forces a new resource to be created.
property tags
tags?: pulumi.Input<{[key: string]: any}>;
A mapping of tags to assign to the resource.
property targetContainerHostCredentialsBase64
targetContainerHostCredentialsBase64: pulumi.Input<string>;
Base64 encoding of kube_config_raw
of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.
property targetContainerHostResourceId
targetContainerHostResourceId: pulumi.Input<string>;
The resource id of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.
interface ControllerState
Input properties used for looking up and filtering Controller resources.
property dataPlaneFqdn
dataPlaneFqdn?: pulumi.Input<string>;
DNS name for accessing DataPlane services.
property hostSuffix
hostSuffix?: pulumi.Input<string>;
The host suffix for the DevSpace Controller. Changing this forces a new resource to be created.
property location
location?: pulumi.Input<string>;
Specifies the supported location where the DevSpace Controller should exist. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;
Specifies the name of the DevSpace Controller. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;
The name of the resource group under which the DevSpace Controller resource has to be created. Changing this forces a new resource to be created.
property sku
sku?: pulumi.Input<{ name: pulumi.Input<string>; tier: pulumi.Input<string>; }>;
A sku
block as documented below. Changing this forces a new resource to be created.
property tags
tags?: pulumi.Input<{[key: string]: any}>;
A mapping of tags to assign to the resource.
property targetContainerHostCredentialsBase64
targetContainerHostCredentialsBase64?: pulumi.Input<string>;
Base64 encoding of kube_config_raw
of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.
property targetContainerHostResourceId
targetContainerHostResourceId?: pulumi.Input<string>;
The resource id of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.