Application

class Application : KotlinCustomResource

Manages an IoT Central Application

Example Usage

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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.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());
}
}

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

Properties

Link copied to clipboard
val displayName: Output<String>

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

An identity block as defined below.

Link copied to clipboard
val location: Output<String>

Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.

Link copied to clipboard
val name: Output<String>

Specifies the name of the IotHub resource. Changing this forces a new resource to be created.

Link copied to clipboard

Whether public network access is allowed for the IoT Central Application. Defaults to true.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.

Link copied to clipboard
val sku: Output<String>?

A sku name. Possible values is ST0, ST1, ST2, Default value is ST1

Link copied to clipboard
val subDomain: Output<String>

A sub_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags to assign to the resource.

Link copied to clipboard
val template: Output<String>

A template name. IoT Central application template name. Default is a custom application. Changing this forces a new resource to be created.

Link copied to clipboard
val urn: Output<String>