1. Packages
  2. Azure Classic
  3. API Docs
  4. iotcentral
  5. Application

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.iotcentral.Application

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Manages an IoT Central Application

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resource",
        location: "West Europe",
    });
    const exampleApplication = new azure.iotcentral.Application("example", {
        name: "example-iotcentral-app",
        resourceGroupName: example.name,
        location: example.location,
        subDomain: "example-iotcentral-app-subdomain",
        displayName: "example-iotcentral-app-display-name",
        sku: "ST1",
        template: "iotc-default@1.0.0",
        tags: {
            Foo: "Bar",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resource",
        location="West Europe")
    example_application = azure.iotcentral.Application("example",
        name="example-iotcentral-app",
        resource_group_name=example.name,
        location=example.location,
        sub_domain="example-iotcentral-app-subdomain",
        display_name="example-iotcentral-app-display-name",
        sku="ST1",
        template="iotc-default@1.0.0",
        tags={
            "Foo": "Bar",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iotcentral"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resource"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = iotcentral.NewApplication(ctx, "example", &iotcentral.ApplicationArgs{
    			Name:              pulumi.String("example-iotcentral-app"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    			SubDomain:         pulumi.String("example-iotcentral-app-subdomain"),
    			DisplayName:       pulumi.String("example-iotcentral-app-display-name"),
    			Sku:               pulumi.String("ST1"),
    			Template:          pulumi.String("iotc-default@1.0.0"),
    			Tags: pulumi.StringMap{
    				"Foo": pulumi.String("Bar"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resource",
            Location = "West Europe",
        });
    
        var exampleApplication = new Azure.IotCentral.Application("example", new()
        {
            Name = "example-iotcentral-app",
            ResourceGroupName = example.Name,
            Location = example.Location,
            SubDomain = "example-iotcentral-app-subdomain",
            DisplayName = "example-iotcentral-app-display-name",
            Sku = "ST1",
            Template = "iotc-default@1.0.0",
            Tags = 
            {
                { "Foo", "Bar" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.iotcentral.Application;
    import com.pulumi.azure.iotcentral.ApplicationArgs;
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resource")
                .location("West Europe")
                .build());
    
            var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()
                .name("example-iotcentral-app")
                .resourceGroupName(example.name())
                .location(example.location())
                .subDomain("example-iotcentral-app-subdomain")
                .displayName("example-iotcentral-app-display-name")
                .sku("ST1")
                .template("iotc-default@1.0.0")
                .tags(Map.of("Foo", "Bar"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resource
          location: West Europe
      exampleApplication:
        type: azure:iotcentral:Application
        name: example
        properties:
          name: example-iotcentral-app
          resourceGroupName: ${example.name}
          location: ${example.location}
          subDomain: example-iotcentral-app-subdomain
          displayName: example-iotcentral-app-display-name
          sku: ST1
          template: iotc-default@1.0.0
          tags:
            Foo: Bar
    

    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,
                    identity: Optional[ApplicationIdentityArgs] = None,
                    location: Optional[str] = None,
                    name: Optional[str] = None,
                    public_network_access_enabled: Optional[bool] = 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",
        Identity = new Azure.IotCentral.Inputs.ApplicationIdentityArgs
        {
            Type = "string",
            PrincipalId = "string",
            TenantId = "string",
        },
        Location = "string",
        Name = "string",
        PublicNetworkAccessEnabled = false,
        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"),
    	Identity: &iotcentral.ApplicationIdentityArgs{
    		Type:        pulumi.String("string"),
    		PrincipalId: pulumi.String("string"),
    		TenantId:    pulumi.String("string"),
    	},
    	Location:                   pulumi.String("string"),
    	Name:                       pulumi.String("string"),
    	PublicNetworkAccessEnabled: pulumi.Bool(false),
    	Sku:                        pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Template: pulumi.String("string"),
    })
    
    var exampleapplicationResourceResourceFromIotcentralapplication = new Application("exampleapplicationResourceResourceFromIotcentralapplication", ApplicationArgs.builder()
        .resourceGroupName("string")
        .subDomain("string")
        .displayName("string")
        .identity(ApplicationIdentityArgs.builder()
            .type("string")
            .principalId("string")
            .tenantId("string")
            .build())
        .location("string")
        .name("string")
        .publicNetworkAccessEnabled(false)
        .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",
        identity={
            "type": "string",
            "principal_id": "string",
            "tenant_id": "string",
        },
        location="string",
        name="string",
        public_network_access_enabled=False,
        sku="string",
        tags={
            "string": "string",
        },
        template="string")
    
    const exampleapplicationResourceResourceFromIotcentralapplication = new azure.iotcentral.Application("exampleapplicationResourceResourceFromIotcentralapplication", {
        resourceGroupName: "string",
        subDomain: "string",
        displayName: "string",
        identity: {
            type: "string",
            principalId: "string",
            tenantId: "string",
        },
        location: "string",
        name: "string",
        publicNetworkAccessEnabled: false,
        sku: "string",
        tags: {
            string: "string",
        },
        template: "string",
    });
    
    type: azure:iotcentral:Application
    properties:
        displayName: string
        identity:
            principalId: string
            tenantId: string
            type: string
        location: string
        name: string
        publicNetworkAccessEnabled: false
        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:

    ResourceGroupName string
    The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
    SubDomain string
    A sub_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.
    DisplayName string

    A display_name name. Custom display name for the IoT Central application. Default is resource name.

    NOTE: Due to a bug in the provider, the default value of display_name of a newly created IoT Central App will be the Resource Group Name, it will be fixed and use resource name in 4.0. For an existing IoT Central App, this could be fixed by specifying the display_name explicitly.

    Identity ApplicationIdentity
    An identity block as defined below.
    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.
    PublicNetworkAccessEnabled bool
    Whether public network access is allowed for the IoT Central Application. Defaults to true.
    Sku string
    A sku name. Possible values is ST0, ST1, ST2, Default value is ST1
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    Template string
    A template name. IoT Central application template name. Defaults to iotc-pnp-preview@1.0.0. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
    SubDomain string
    A sub_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.
    DisplayName string

    A display_name name. Custom display name for the IoT Central application. Default is resource name.

    NOTE: Due to a bug in the provider, the default value of display_name of a newly created IoT Central App will be the Resource Group Name, it will be fixed and use resource name in 4.0. For an existing IoT Central App, this could be fixed by specifying the display_name explicitly.

    Identity ApplicationIdentityArgs
    An identity block as defined below.
    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.
    PublicNetworkAccessEnabled bool
    Whether public network access is allowed for the IoT Central Application. Defaults to true.
    Sku string
    A sku name. Possible values is ST0, ST1, ST2, Default value is ST1
    Tags map[string]string
    A mapping of tags to assign to the resource.
    Template string
    A template name. IoT Central application template name. Defaults to iotc-pnp-preview@1.0.0. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
    subDomain String
    A sub_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.
    displayName String

    A display_name name. Custom display name for the IoT Central application. Default is resource name.

    NOTE: Due to a bug in the provider, the default value of display_name of a newly created IoT Central App will be the Resource Group Name, it will be fixed and use resource name in 4.0. For an existing IoT Central App, this could be fixed by specifying the display_name explicitly.

    identity ApplicationIdentity
    An identity block as defined below.
    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.
    publicNetworkAccessEnabled Boolean
    Whether public network access is allowed for the IoT Central Application. Defaults to true.
    sku String
    A sku name. Possible values is ST0, ST1, ST2, Default value is ST1
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    template String
    A template name. IoT Central application template name. Defaults to iotc-pnp-preview@1.0.0. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
    subDomain string
    A sub_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.
    displayName string

    A display_name name. Custom display name for the IoT Central application. Default is resource name.

    NOTE: Due to a bug in the provider, the default value of display_name of a newly created IoT Central App will be the Resource Group Name, it will be fixed and use resource name in 4.0. For an existing IoT Central App, this could be fixed by specifying the display_name explicitly.

    identity ApplicationIdentity
    An identity block as defined below.
    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.
    publicNetworkAccessEnabled boolean
    Whether public network access is allowed for the IoT Central Application. Defaults to true.
    sku string
    A sku name. Possible values is ST0, ST1, ST2, Default value is ST1
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    template string
    A template name. IoT Central application template name. Defaults to iotc-pnp-preview@1.0.0. Changing this forces a new resource to be created.
    resource_group_name str
    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_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.
    display_name str

    A display_name name. Custom display name for the IoT Central application. Default is resource name.

    NOTE: Due to a bug in the provider, the default value of display_name of a newly created IoT Central App will be the Resource Group Name, it will be fixed and use resource name in 4.0. For an existing IoT Central App, this could be fixed by specifying the display_name explicitly.

    identity ApplicationIdentityArgs
    An identity block as defined below.
    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.
    public_network_access_enabled bool
    Whether public network access is allowed for the IoT Central Application. Defaults to true.
    sku str
    A sku name. Possible values is ST0, ST1, ST2, Default value is ST1
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    template str
    A template name. IoT Central application template name. Defaults to iotc-pnp-preview@1.0.0. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
    subDomain String
    A sub_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.
    displayName String

    A display_name name. Custom display name for the IoT Central application. Default is resource name.

    NOTE: Due to a bug in the provider, the default value of display_name of a newly created IoT Central App will be the Resource Group Name, it will be fixed and use resource name in 4.0. For an existing IoT Central App, this could be fixed by specifying the display_name explicitly.

    identity Property Map
    An identity block as defined below.
    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.
    publicNetworkAccessEnabled Boolean
    Whether public network access is allowed for the IoT Central Application. Defaults to true.
    sku String
    A sku name. Possible values is ST0, ST1, ST2, Default value is ST1
    tags Map<String>
    A mapping of tags to assign to the resource.
    template String
    A template name. IoT Central application template name. Defaults to iotc-pnp-preview@1.0.0. Changing this forces a new resource to be created.

    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,
            identity: Optional[ApplicationIdentityArgs] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            public_network_access_enabled: Optional[bool] = 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) -> Application
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    DisplayName string

    A display_name name. Custom display name for the IoT Central application. Default is resource name.

    NOTE: Due to a bug in the provider, the default value of display_name of a newly created IoT Central App will be the Resource Group Name, it will be fixed and use resource name in 4.0. For an existing IoT Central App, this could be fixed by specifying the display_name explicitly.

    Identity ApplicationIdentity
    An identity block as defined below.
    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.
    PublicNetworkAccessEnabled bool
    Whether public network access is allowed for the IoT Central Application. Defaults to true.
    ResourceGroupName string
    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 sku name. Possible values is ST0, ST1, ST2, Default value is ST1
    SubDomain string
    A sub_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    Template string
    A template name. IoT Central application template name. Defaults to iotc-pnp-preview@1.0.0. Changing this forces a new resource to be created.
    DisplayName string

    A display_name name. Custom display name for the IoT Central application. Default is resource name.

    NOTE: Due to a bug in the provider, the default value of display_name of a newly created IoT Central App will be the Resource Group Name, it will be fixed and use resource name in 4.0. For an existing IoT Central App, this could be fixed by specifying the display_name explicitly.

    Identity ApplicationIdentityArgs
    An identity block as defined below.
    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.
    PublicNetworkAccessEnabled bool
    Whether public network access is allowed for the IoT Central Application. Defaults to true.
    ResourceGroupName string
    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 sku name. Possible values is ST0, ST1, ST2, Default value is ST1
    SubDomain string
    A sub_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    Template string
    A template name. IoT Central application template name. Defaults to iotc-pnp-preview@1.0.0. Changing this forces a new resource to be created.
    displayName String

    A display_name name. Custom display name for the IoT Central application. Default is resource name.

    NOTE: Due to a bug in the provider, the default value of display_name of a newly created IoT Central App will be the Resource Group Name, it will be fixed and use resource name in 4.0. For an existing IoT Central App, this could be fixed by specifying the display_name explicitly.

    identity ApplicationIdentity
    An identity block as defined below.
    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.
    publicNetworkAccessEnabled Boolean
    Whether public network access is allowed for the IoT Central Application. Defaults to true.
    resourceGroupName String
    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 sku name. Possible values is ST0, ST1, ST2, Default value is ST1
    subDomain String
    A sub_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    template String
    A template name. IoT Central application template name. Defaults to iotc-pnp-preview@1.0.0. Changing this forces a new resource to be created.
    displayName string

    A display_name name. Custom display name for the IoT Central application. Default is resource name.

    NOTE: Due to a bug in the provider, the default value of display_name of a newly created IoT Central App will be the Resource Group Name, it will be fixed and use resource name in 4.0. For an existing IoT Central App, this could be fixed by specifying the display_name explicitly.

    identity ApplicationIdentity
    An identity block as defined below.
    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.
    publicNetworkAccessEnabled boolean
    Whether public network access is allowed for the IoT Central Application. Defaults to true.
    resourceGroupName string
    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 sku name. Possible values is ST0, ST1, ST2, Default value is ST1
    subDomain string
    A sub_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    template string
    A template name. IoT Central application template name. Defaults to iotc-pnp-preview@1.0.0. Changing this forces a new resource to be created.
    display_name str

    A display_name name. Custom display name for the IoT Central application. Default is resource name.

    NOTE: Due to a bug in the provider, the default value of display_name of a newly created IoT Central App will be the Resource Group Name, it will be fixed and use resource name in 4.0. For an existing IoT Central App, this could be fixed by specifying the display_name explicitly.

    identity ApplicationIdentityArgs
    An identity block as defined below.
    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.
    public_network_access_enabled bool
    Whether public network access is allowed for the IoT Central Application. Defaults to true.
    resource_group_name str
    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 sku name. Possible values is ST0, ST1, ST2, Default value is ST1
    sub_domain str
    A sub_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    template str
    A template name. IoT Central application template name. Defaults to iotc-pnp-preview@1.0.0. Changing this forces a new resource to be created.
    displayName String

    A display_name name. Custom display name for the IoT Central application. Default is resource name.

    NOTE: Due to a bug in the provider, the default value of display_name of a newly created IoT Central App will be the Resource Group Name, it will be fixed and use resource name in 4.0. For an existing IoT Central App, this could be fixed by specifying the display_name explicitly.

    identity Property Map
    An identity block as defined below.
    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.
    publicNetworkAccessEnabled Boolean
    Whether public network access is allowed for the IoT Central Application. Defaults to true.
    resourceGroupName String
    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 sku name. Possible values is ST0, ST1, ST2, Default value is ST1
    subDomain String
    A sub_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.
    tags Map<String>
    A mapping of tags to assign to the resource.
    template String
    A template name. IoT Central application template name. Defaults to iotc-pnp-preview@1.0.0. Changing this forces a new resource to be created.

    Supporting Types

    ApplicationIdentity, ApplicationIdentityArgs

    Type string
    Specifies the type of Managed Service Identity that should be configured on this IoT Central Application. The only possible value is SystemAssigned.
    PrincipalId string
    The Principal ID associated with this Managed Service Identity.
    TenantId string
    The Tenant ID associated with this Managed Service Identity.
    Type string
    Specifies the type of Managed Service Identity that should be configured on this IoT Central Application. The only possible value is SystemAssigned.
    PrincipalId string
    The Principal ID associated with this Managed Service Identity.
    TenantId string
    The Tenant ID associated with this Managed Service Identity.
    type String
    Specifies the type of Managed Service Identity that should be configured on this IoT Central Application. The only possible value is SystemAssigned.
    principalId String
    The Principal ID associated with this Managed Service Identity.
    tenantId String
    The Tenant ID associated with this Managed Service Identity.
    type string
    Specifies the type of Managed Service Identity that should be configured on this IoT Central Application. The only possible value is SystemAssigned.
    principalId string
    The Principal ID associated with this Managed Service Identity.
    tenantId string
    The Tenant ID associated with this Managed Service Identity.
    type str
    Specifies the type of Managed Service Identity that should be configured on this IoT Central Application. The only possible value is SystemAssigned.
    principal_id str
    The Principal ID associated with this Managed Service Identity.
    tenant_id str
    The Tenant ID associated with this Managed Service Identity.
    type String
    Specifies the type of Managed Service Identity that should be configured on this IoT Central Application. The only possible value is SystemAssigned.
    principalId String
    The Principal ID associated with this Managed Service Identity.
    tenantId String
    The Tenant ID associated with this Managed Service Identity.

    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 azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi