We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages an IoT Central Application
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleApplication = new Azure.IotCentral.Application("exampleApplication", new Azure.IotCentral.ApplicationArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
SubDomain = "example-iotcentral-app-subdomain",
DisplayName = "example-iotcentral-app-display-name",
Sku = "S1",
Template = "iotc-default@1.0.0",
Tags =
{
{ "Foo", "Bar" },
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iotcentral"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = iotcentral.NewApplication(ctx, "exampleApplication", &iotcentral.ApplicationArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
SubDomain: pulumi.String("example-iotcentral-app-subdomain"),
DisplayName: pulumi.String("example-iotcentral-app-display-name"),
Sku: pulumi.String("S1"),
Template: pulumi.String("iotc-default@1.0.0"),
Tags: pulumi.StringMap{
"Foo": pulumi.String("Bar"),
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleApplication = new azure.iotcentral.Application("exampleApplication", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
subDomain: "example-iotcentral-app-subdomain",
displayName: "example-iotcentral-app-display-name",
sku: "S1",
template: "iotc-default@1.0.0",
tags: {
Foo: "Bar",
},
});
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_application = azure.iotcentral.Application("exampleApplication",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
sub_domain="example-iotcentral-app-subdomain",
display_name="example-iotcentral-app-display-name",
sku="S1",
template="iotc-default@1.0.0",
tags={
"Foo": "Bar",
})
Example coming soon!
Create Application Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);@overload
def Application(resource_name: str,
args: ApplicationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Application(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
sub_domain: Optional[str] = None,
display_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
sku: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
template: Optional[str] = None)func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: azure:iotcentral:Application
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ApplicationArgs
- 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 ApplicationArgs
- 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 ApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationArgs
- 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 exampleapplicationResourceResourceFromIotcentralapplication = new Azure.IotCentral.Application("exampleapplicationResourceResourceFromIotcentralapplication", new()
{
ResourceGroupName = "string",
SubDomain = "string",
DisplayName = "string",
Location = "string",
Name = "string",
Sku = "string",
Tags =
{
{ "string", "string" },
},
Template = "string",
});
example, err := iotcentral.NewApplication(ctx, "exampleapplicationResourceResourceFromIotcentralapplication", &iotcentral.ApplicationArgs{
ResourceGroupName: pulumi.String("string"),
SubDomain: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Sku: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Template: pulumi.String("string"),
})
var exampleapplicationResourceResourceFromIotcentralapplication = new com.pulumi.azure.iotcentral.Application("exampleapplicationResourceResourceFromIotcentralapplication", com.pulumi.azure.iotcentral.ApplicationArgs.builder()
.resourceGroupName("string")
.subDomain("string")
.displayName("string")
.location("string")
.name("string")
.sku("string")
.tags(Map.of("string", "string"))
.template("string")
.build());
exampleapplication_resource_resource_from_iotcentralapplication = azure.iotcentral.Application("exampleapplicationResourceResourceFromIotcentralapplication",
resource_group_name="string",
sub_domain="string",
display_name="string",
location="string",
name="string",
sku="string",
tags={
"string": "string",
},
template="string")
const exampleapplicationResourceResourceFromIotcentralapplication = new azure.iotcentral.Application("exampleapplicationResourceResourceFromIotcentralapplication", {
resourceGroupName: "string",
subDomain: "string",
displayName: "string",
location: "string",
name: "string",
sku: "string",
tags: {
string: "string",
},
template: "string",
});
type: azure:iotcentral:Application
properties:
displayName: string
location: string
name: string
resourceGroupName: string
sku: string
subDomain: string
tags:
string: string
template: string
Application 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 Application resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
- Sub
Domain string - A
sub_domainname. Subdomain for the IoT Central URL. Each application must have a unique subdomain. - Display
Name string - A
display_namename. Custom display name for the IoT Central application. Default is resource name. - Location string
- Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
- Sku string
- A
skuname. Possible values isST1,ST2, Default value isST1 - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Template string
- A
templatename. IoT Central application template name. Default is a custom application.
- Resource
Group stringName - The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
- Sub
Domain string - A
sub_domainname. Subdomain for the IoT Central URL. Each application must have a unique subdomain. - Display
Name string - A
display_namename. Custom display name for the IoT Central application. Default is resource name. - Location string
- Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
- Sku string
- A
skuname. Possible values isST1,ST2, Default value isST1 - map[string]string
- A mapping of tags to assign to the resource.
- Template string
- A
templatename. IoT Central application template name. Default is a custom application.
- resource
Group StringName - The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
- sub
Domain String - A
sub_domainname. Subdomain for the IoT Central URL. Each application must have a unique subdomain. - display
Name String - A
display_namename. Custom display name for the IoT Central application. Default is resource name. - location String
- Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.
- name String
- Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
- sku String
- A
skuname. Possible values isST1,ST2, Default value isST1 - Map<String,String>
- A mapping of tags to assign to the resource.
- template String
- A
templatename. IoT Central application template name. Default is a custom application.
- resource
Group stringName - The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
- sub
Domain string - A
sub_domainname. Subdomain for the IoT Central URL. Each application must have a unique subdomain. - display
Name string - A
display_namename. Custom display name for the IoT Central application. Default is resource name. - location string
- Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.
- name string
- Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
- sku string
- A
skuname. Possible values isST1,ST2, Default value isST1 - {[key: string]: string}
- A mapping of tags to assign to the resource.
- template string
- A
templatename. IoT Central application template name. Default is a custom application.
- resource_
group_ strname - The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
- sub_
domain str - A
sub_domainname. Subdomain for the IoT Central URL. Each application must have a unique subdomain. - display_
name str - A
display_namename. Custom display name for the IoT Central application. Default is resource name. - location str
- Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.
- name str
- Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
- sku str
- A
skuname. Possible values isST1,ST2, Default value isST1 - Mapping[str, str]
- A mapping of tags to assign to the resource.
- template str
- A
templatename. IoT Central application template name. Default is a custom application.
- resource
Group StringName - The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
- sub
Domain String - A
sub_domainname. Subdomain for the IoT Central URL. Each application must have a unique subdomain. - display
Name String - A
display_namename. Custom display name for the IoT Central application. Default is resource name. - location String
- Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.
- name String
- Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
- sku String
- A
skuname. Possible values isST1,ST2, Default value isST1 - Map<String>
- A mapping of tags to assign to the resource.
- template String
- A
templatename. IoT Central application template name. Default is a custom application.
Outputs
All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Application Resource
Get an existing Application 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?: ApplicationState, opts?: CustomResourceOptions): Application@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
sku: Optional[str] = None,
sub_domain: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
template: Optional[str] = None) -> Applicationfunc GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)resources: _: type: azure:iotcentral:Application get: id: ${id}- 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.
- 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.
- Display
Name string - A
display_namename. Custom display name for the IoT Central application. Default is resource name. - Location string
- Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
- Sku string
- A
skuname. Possible values isST1,ST2, Default value isST1 - Sub
Domain string - A
sub_domainname. Subdomain for the IoT Central URL. Each application must have a unique subdomain. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Template string
- A
templatename. IoT Central application template name. Default is a custom application.
- Display
Name string - A
display_namename. Custom display name for the IoT Central application. Default is resource name. - Location string
- Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
- Sku string
- A
skuname. Possible values isST1,ST2, Default value isST1 - Sub
Domain string - A
sub_domainname. Subdomain for the IoT Central URL. Each application must have a unique subdomain. - map[string]string
- A mapping of tags to assign to the resource.
- Template string
- A
templatename. IoT Central application template name. Default is a custom application.
- display
Name String - A
display_namename. Custom display name for the IoT Central application. Default is resource name. - location String
- Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.
- name String
- Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
- sku String
- A
skuname. Possible values isST1,ST2, Default value isST1 - sub
Domain String - A
sub_domainname. Subdomain for the IoT Central URL. Each application must have a unique subdomain. - Map<String,String>
- A mapping of tags to assign to the resource.
- template String
- A
templatename. IoT Central application template name. Default is a custom application.
- display
Name string - A
display_namename. Custom display name for the IoT Central application. Default is resource name. - location string
- Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.
- name string
- Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
- resource
Group stringName - The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
- sku string
- A
skuname. Possible values isST1,ST2, Default value isST1 - sub
Domain string - A
sub_domainname. Subdomain for the IoT Central URL. Each application must have a unique subdomain. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- template string
- A
templatename. IoT Central application template name. Default is a custom application.
- display_
name str - A
display_namename. Custom display name for the IoT Central application. Default is resource name. - location str
- Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.
- name str
- Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
- resource_
group_ strname - The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
- sku str
- A
skuname. Possible values isST1,ST2, Default value isST1 - sub_
domain str - A
sub_domainname. Subdomain for the IoT Central URL. Each application must have a unique subdomain. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- template str
- A
templatename. IoT Central application template name. Default is a custom application.
- display
Name String - A
display_namename. Custom display name for the IoT Central application. Default is resource name. - location String
- Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.
- name String
- Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
- sku String
- A
skuname. Possible values isST1,ST2, Default value isST1 - sub
Domain String - A
sub_domainname. Subdomain for the IoT Central URL. Each application must have a unique subdomain. - Map<String>
- A mapping of tags to assign to the resource.
- template String
- A
templatename. IoT Central application template name. Default is a custom application.
Import
The IoT Central Application can be imported using the resource id, e.g.
$ pulumi import azure:iotcentral/application:Application example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.IoTCentral/ioTApps/app1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
