Controller
Manages a DevSpace Controller.
NOTE: Microsoft will be retiring Azure Dev Spaces on 31 October 2023, please see the product documentation for more information.
!> NOTE: The Azure API no longer allows provisioning new DevSpace Controllers - as such this resource exists only to allow existing users to continue managing these in the provider at this time.
Create a 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_name: Optional[str] = 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)
- 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.
Controller Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Controller resource accepts the following input properties:
- Resource
Group stringName - 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.
- Sku
Name string - Specifies the SKU Name for this DevSpace Controller. Possible values are
S1
. - Target
Container stringHost Credentials Base64 - Base64 encoding of
kube_config_raw
of Azure Kubernetes Service cluster. Changing this forces a new resource to be created. - Target
Container stringHost Resource Id - The resource id of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.
- Location string
- Specifies the supported location where the DevSpace Controller should exist. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the DevSpace Controller. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Resource
Group stringName - 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.
- Sku
Name string - Specifies the SKU Name for this DevSpace Controller. Possible values are
S1
. - Target
Container stringHost Credentials Base64 - Base64 encoding of
kube_config_raw
of Azure Kubernetes Service cluster. Changing this forces a new resource to be created. - Target
Container stringHost Resource Id - The resource id of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.
- Location string
- Specifies the supported location where the DevSpace Controller should exist. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the DevSpace Controller. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags to assign to the resource.
- resource
Group stringName - 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.
- sku
Name string - Specifies the SKU Name for this DevSpace Controller. Possible values are
S1
. - target
Container stringHost Credentials Base64 - Base64 encoding of
kube_config_raw
of Azure Kubernetes Service cluster. Changing this forces a new resource to be created. - target
Container stringHost Resource Id - The resource id of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.
- location string
- Specifies the supported location where the DevSpace Controller should exist. Changing this forces a new resource to be created.
- name string
- Specifies the name of the DevSpace Controller. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- resource_
group_ strname - 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.
- sku_
name str - Specifies the SKU Name for this DevSpace Controller. Possible values are
S1
. - target_
container_ strhost_ credentials_ base64 - Base64 encoding of
kube_config_raw
of Azure Kubernetes Service cluster. Changing this forces a new resource to be created. - target_
container_ strhost_ resource_ id - The resource id of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.
- location str
- Specifies the supported location where the DevSpace Controller should exist. Changing this forces a new resource to be created.
- name str
- Specifies the name of the DevSpace Controller. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Controller resource produces the following output properties:
- Data
Plane stringFqdn - DNS name for accessing DataPlane services.
- Host
Suffix string - The host suffix for the DevSpace Controller.
- Id string
- The provider-assigned unique ID for this managed resource.
- Data
Plane stringFqdn - DNS name for accessing DataPlane services.
- Host
Suffix string - The host suffix for the DevSpace Controller.
- Id string
- The provider-assigned unique ID for this managed resource.
- data
Plane stringFqdn - DNS name for accessing DataPlane services.
- host
Suffix string - The host suffix for the DevSpace Controller.
- id string
- The provider-assigned unique ID for this managed resource.
- data_
plane_ strfqdn - DNS name for accessing DataPlane services.
- host_
suffix str - The host suffix for the DevSpace Controller.
- id str
- The provider-assigned unique ID for this managed resource.
Look up an Existing Controller Resource
Get an existing Controller resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ControllerState, opts?: CustomResourceOptions): Controller
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
data_plane_fqdn: Optional[str] = None,
host_suffix: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
sku_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
target_container_host_credentials_base64: Optional[str] = None,
target_container_host_resource_id: Optional[str] = None) -> Controller
func GetController(ctx *Context, name string, id IDInput, state *ControllerState, opts ...ResourceOption) (*Controller, error)
public static Controller Get(string name, Input<string> id, ControllerState? state, CustomResourceOptions? opts = null)
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Data
Plane stringFqdn - DNS name for accessing DataPlane services.
- Host
Suffix string - The host suffix for the DevSpace Controller.
- Location string
- Specifies the supported location where the DevSpace Controller should exist. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the DevSpace Controller. Changing this forces a new resource to be created.
- Resource
Group stringName - 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.
- Sku
Name string - Specifies the SKU Name for this DevSpace Controller. Possible values are
S1
. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Target
Container stringHost Credentials Base64 - Base64 encoding of
kube_config_raw
of Azure Kubernetes Service cluster. Changing this forces a new resource to be created. - Target
Container stringHost Resource Id - The resource id of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.
- Data
Plane stringFqdn - DNS name for accessing DataPlane services.
- Host
Suffix string - The host suffix for the DevSpace Controller.
- Location string
- Specifies the supported location where the DevSpace Controller should exist. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the DevSpace Controller. Changing this forces a new resource to be created.
- Resource
Group stringName - 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.
- Sku
Name string - Specifies the SKU Name for this DevSpace Controller. Possible values are
S1
. - map[string]string
- A mapping of tags to assign to the resource.
- Target
Container stringHost Credentials Base64 - Base64 encoding of
kube_config_raw
of Azure Kubernetes Service cluster. Changing this forces a new resource to be created. - Target
Container stringHost Resource Id - The resource id of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.
- data
Plane stringFqdn - DNS name for accessing DataPlane services.
- host
Suffix string - The host suffix for the DevSpace Controller.
- location string
- Specifies the supported location where the DevSpace Controller should exist. Changing this forces a new resource to be created.
- name string
- Specifies the name of the DevSpace Controller. Changing this forces a new resource to be created.
- resource
Group stringName - 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.
- sku
Name string - Specifies the SKU Name for this DevSpace Controller. Possible values are
S1
. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- target
Container stringHost Credentials Base64 - Base64 encoding of
kube_config_raw
of Azure Kubernetes Service cluster. Changing this forces a new resource to be created. - target
Container stringHost Resource Id - The resource id of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.
- data_
plane_ strfqdn - DNS name for accessing DataPlane services.
- host_
suffix str - The host suffix for the DevSpace Controller.
- location str
- Specifies the supported location where the DevSpace Controller should exist. Changing this forces a new resource to be created.
- name str
- Specifies the name of the DevSpace Controller. Changing this forces a new resource to be created.
- resource_
group_ strname - 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.
- sku_
name str - Specifies the SKU Name for this DevSpace Controller. Possible values are
S1
. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- target_
container_ strhost_ credentials_ base64 - Base64 encoding of
kube_config_raw
of Azure Kubernetes Service cluster. Changing this forces a new resource to be created. - target_
container_ strhost_ resource_ id - The resource id of Azure Kubernetes Service cluster. Changing this forces a new resource to be created.
Import
DevSpace Controller’s can be imported using the resource id
, e.g.
$ pulumi import azure:devspace/controller:Controller controller1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevSpaces/controllers/controller1Name
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.