AppArgs

data class AppArgs(val displayName: Output<String>? = null, val identity: Output<SystemAssignedServiceIdentityArgs>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null, val sku: Output<AppSkuInfoArgs>? = null, val subdomain: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val template: Output<String>? = null) : ConvertibleToJava<AppArgs>

The IoT Central application. API Version: 2021-06-01.

Example Usage

Apps_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var app = new AzureNative.IoTCentral.App("app", new()
{
DisplayName = "My IoT Central App",
Identity = new AzureNative.IoTCentral.Inputs.SystemAssignedServiceIdentityArgs
{
Type = "SystemAssigned",
},
Location = "westus",
ResourceGroupName = "resRg",
ResourceName = "myIoTCentralApp",
Sku = new AzureNative.IoTCentral.Inputs.AppSkuInfoArgs
{
Name = "ST2",
},
Subdomain = "my-iot-central-app",
Template = "iotc-pnp-preview@1.0.0",
});
});
package main
import (
iotcentral "github.com/pulumi/pulumi-azure-native-sdk/iotcentral"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotcentral.NewApp(ctx, "app", &iotcentral.AppArgs{
DisplayName: pulumi.String("My IoT Central App"),
Identity: &iotcentral.SystemAssignedServiceIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("resRg"),
ResourceName: pulumi.String("myIoTCentralApp"),
Sku: &iotcentral.AppSkuInfoArgs{
Name: pulumi.String("ST2"),
},
Subdomain: pulumi.String("my-iot-central-app"),
Template: pulumi.String("iotc-pnp-preview@1.0.0"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotcentral.App;
import com.pulumi.azurenative.iotcentral.AppArgs;
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 app = new App("app", AppArgs.builder()
.displayName("My IoT Central App")
.identity(Map.of("type", "SystemAssigned"))
.location("westus")
.resourceGroupName("resRg")
.resourceName("myIoTCentralApp")
.sku(Map.of("name", "ST2"))
.subdomain("my-iot-central-app")
.template("iotc-pnp-preview@1.0.0")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:iotcentral:App myIoTCentralApp /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp

Constructors

Link copied to clipboard
constructor(displayName: Output<String>? = null, identity: Output<SystemAssignedServiceIdentityArgs>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, resourceName: Output<String>? = null, sku: Output<AppSkuInfoArgs>? = null, subdomain: Output<String>? = null, tags: Output<Map<String, String>>? = null, template: Output<String>? = null)

Properties

Link copied to clipboard
val displayName: Output<String>? = null

The display name of the application.

Link copied to clipboard

The managed identities for the IoT Central application.

Link copied to clipboard
val location: Output<String>? = null

The resource location.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group that contains the IoT Central application.

Link copied to clipboard
val resourceName: Output<String>? = null

The ARM resource name of the IoT Central application.

Link copied to clipboard
val sku: Output<AppSkuInfoArgs>? = null

A valid instance SKU.

Link copied to clipboard
val subdomain: Output<String>? = null

The subdomain of the application.

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

The resource tags.

Link copied to clipboard
val template: Output<String>? = null

The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch.

Functions

Link copied to clipboard
open override fun toJava(): AppArgs