azure-native-v2.devspaces.Controller
Explore with Pulumi AI
Azure REST API version: 2019-04-01. Prior API version in Azure Native 1.x: 2019-04-01.
Create Controller Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Controller(name: string, args: ControllerArgs, opts?: CustomResourceOptions);
@overload
def Controller(resource_name: str,
args: ControllerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Controller(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
sku: Optional[SkuArgs] = None,
target_container_host_credentials_base64: Optional[str] = None,
target_container_host_resource_id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = 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.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ControllerArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. ControllerArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ControllerArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. ControllerArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var controllerResource = new AzureNative.Devspaces.Controller("controllerResource", new()
{
ResourceGroupName = "string",
Sku =
{
{ "name", "string" },
{ "tier", "string" },
},
TargetContainerHostCredentialsBase64 = "string",
TargetContainerHostResourceId = "string",
Location = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := devspaces.NewController(ctx, "controllerResource", &devspaces.ControllerArgs{
ResourceGroupName: "string",
Sku: map[string]interface{}{
"name": "string",
"tier": "string",
},
TargetContainerHostCredentialsBase64: "string",
TargetContainerHostResourceId: "string",
Location: "string",
Name: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var controllerResource = new Controller("controllerResource", ControllerArgs.builder()
.resourceGroupName("string")
.sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.targetContainerHostCredentialsBase64("string")
.targetContainerHostResourceId("string")
.location("string")
.name("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
controller_resource = azure_native.devspaces.Controller("controllerResource",
resource_group_name=string,
sku={
name: string,
tier: string,
},
target_container_host_credentials_base64=string,
target_container_host_resource_id=string,
location=string,
name=string,
tags={
string: string,
})
const controllerResource = new azure_native.devspaces.Controller("controllerResource", {
resourceGroupName: "string",
sku: {
name: "string",
tier: "string",
},
targetContainerHostCredentialsBase64: "string",
targetContainerHostResourceId: "string",
location: "string",
name: "string",
tags: {
string: "string",
},
});
type: azure-native:devspaces:Controller
properties:
location: string
name: string
resourceGroupName: string
sku:
name: string
tier: string
tags:
string: string
targetContainerHostCredentialsBase64: string
targetContainerHostResourceId: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Controller resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Resource group to which the resource belongs.
- Sku
This property is required. Pulumi.Azure Native. Dev Spaces. Inputs. Sku - Model representing SKU for Azure Dev Spaces Controller.
- Target
Container Host Credentials Base64 This property is required. Changes to this property will trigger replacement.
- Credentials of the target container host (base64).
- Target
Container Host Resource Id This property is required. Changes to this property will trigger replacement.
- Resource ID of the target container host
- Location
Changes to this property will trigger replacement.
- Region where the Azure resource is located.
- Name
Changes to this property will trigger replacement.
- Name of the resource.
- Dictionary<string, string>
- Tags for the Azure resource.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Resource group to which the resource belongs.
- Sku
This property is required. SkuArgs - Model representing SKU for Azure Dev Spaces Controller.
- Target
Container Host Credentials Base64 This property is required. Changes to this property will trigger replacement.
- Credentials of the target container host (base64).
- Target
Container Host Resource Id This property is required. Changes to this property will trigger replacement.
- Resource ID of the target container host
- Location
Changes to this property will trigger replacement.
- Region where the Azure resource is located.
- Name
Changes to this property will trigger replacement.
- Name of the resource.
- map[string]string
- Tags for the Azure resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Resource group to which the resource belongs.
- sku
This property is required. Sku - Model representing SKU for Azure Dev Spaces Controller.
- target
Container Host Credentials Base64 This property is required. Changes to this property will trigger replacement.
- Credentials of the target container host (base64).
- target
Container Host Resource Id This property is required. Changes to this property will trigger replacement.
- Resource ID of the target container host
- location
Changes to this property will trigger replacement.
- Region where the Azure resource is located.
- name
Changes to this property will trigger replacement.
- Name of the resource.
- Map<String,String>
- Tags for the Azure resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Resource group to which the resource belongs.
- sku
This property is required. Sku - Model representing SKU for Azure Dev Spaces Controller.
- target
Container Host Credentials Base64 This property is required. Changes to this property will trigger replacement.
- Credentials of the target container host (base64).
- target
Container Host Resource Id This property is required. Changes to this property will trigger replacement.
- Resource ID of the target container host
- location
Changes to this property will trigger replacement.
- Region where the Azure resource is located.
- name
Changes to this property will trigger replacement.
- Name of the resource.
- {[key: string]: string}
- Tags for the Azure resource.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Resource group to which the resource belongs.
- sku
This property is required. SkuArgs - Model representing SKU for Azure Dev Spaces Controller.
- target_
container_ host_ credentials_ base64 This property is required. Changes to this property will trigger replacement.
- Credentials of the target container host (base64).
- target_
container_ host_ resource_ id This property is required. Changes to this property will trigger replacement.
- Resource ID of the target container host
- location
Changes to this property will trigger replacement.
- Region where the Azure resource is located.
- name
Changes to this property will trigger replacement.
- Name of the resource.
- Mapping[str, str]
- Tags for the Azure resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Resource group to which the resource belongs.
- sku
This property is required. Property Map - Model representing SKU for Azure Dev Spaces Controller.
- target
Container Host Credentials Base64 This property is required. Changes to this property will trigger replacement.
- Credentials of the target container host (base64).
- target
Container Host Resource Id This property is required. Changes to this property will trigger replacement.
- Resource ID of the target container host
- location
Changes to this property will trigger replacement.
- Region where the Azure resource is located.
- name
Changes to this property will trigger replacement.
- Name of the resource.
- 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:
- Data
Plane stringFqdn - DNS name for accessing DataPlane services
- Host
Suffix string - DNS suffix for public endpoints running in the Azure Dev Spaces Controller.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - Provisioning state of the Azure Dev Spaces Controller.
- Target
Container stringHost Api Server Fqdn - DNS of the target container host's API server
- Type string
- The type of the resource.
- Data
Plane stringFqdn - DNS name for accessing DataPlane services
- Host
Suffix string - DNS suffix for public endpoints running in the Azure Dev Spaces Controller.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - Provisioning state of the Azure Dev Spaces Controller.
- Target
Container stringHost Api Server Fqdn - DNS of the target container host's API server
- Type string
- The type of the resource.
- data
Plane StringFqdn - DNS name for accessing DataPlane services
- host
Suffix String - DNS suffix for public endpoints running in the Azure Dev Spaces Controller.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - Provisioning state of the Azure Dev Spaces Controller.
- target
Container StringHost Api Server Fqdn - DNS of the target container host's API server
- type String
- The type of the resource.
- data
Plane stringFqdn - DNS name for accessing DataPlane services
- host
Suffix string - DNS suffix for public endpoints running in the Azure Dev Spaces Controller.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
State string - Provisioning state of the Azure Dev Spaces Controller.
- target
Container stringHost Api Server Fqdn - DNS of the target container host's API server
- type string
- The type of the resource.
- data_
plane_ strfqdn - 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_ strhost_ api_ server_ fqdn - DNS of the target container host's API server
- type str
- The type of the resource.
- data
Plane StringFqdn - DNS name for accessing DataPlane services
- host
Suffix String - DNS suffix for public endpoints running in the Azure Dev Spaces Controller.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - Provisioning state of the Azure Dev Spaces Controller.
- target
Container StringHost Api Server Fqdn - DNS of the target container host's API server
- type String
- The type of the resource.
Supporting Types
Sku, SkuArgs
- Name
This property is required. string | Pulumi.Azure Native. Dev Spaces. Sku Name - The name of the SKU for Azure Dev Spaces Controller.
- Tier
string | Pulumi.
Azure Native. Dev Spaces. Sku Tier - The tier of the SKU for Azure Dev Spaces Controller.
- name
This property is required. 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, SkuNameArgs
- S1
- S1
- Sku
Name S1 - S1
- S1
- S1
- S1
- S1
- S1
- S1
- "S1"
- S1
SkuResponse, SkuResponseArgs
SkuTier, SkuTierArgs
- Standard
- Standard
- Sku
Tier Standard - 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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0