App

class App : KotlinCustomResource

The IoT Central application. Uses Azure REST API version 2021-11-01-preview. In version 2.x of the Azure Native provider, it used API version 2021-06-01. Other available API versions: 2021-06-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native iotcentral [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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 = AzureNative.IoTCentral.SystemAssignedServiceIdentityType.SystemAssigned,
},
Location = "westus",
ResourceGroupName = "resRg",
ResourceName = "myIoTCentralApp",
Sku = new AzureNative.IoTCentral.Inputs.AppSkuInfoArgs
{
Name = AzureNative.IoTCentral.AppSku.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/v3"
"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(iotcentral.SystemAssignedServiceIdentityTypeSystemAssigned),
},
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("resRg"),
ResourceName: pulumi.String("myIoTCentralApp"),
Sku: &iotcentral.AppSkuInfoArgs{
Name: pulumi.String(iotcentral.AppSkuST2),
},
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 com.pulumi.azurenative.iotcentral.inputs.SystemAssignedServiceIdentityArgs;
import com.pulumi.azurenative.iotcentral.inputs.AppSkuInfoArgs;
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(SystemAssignedServiceIdentityArgs.builder()
.type("SystemAssigned")
.build())
.location("westus")
.resourceGroupName("resRg")
.resourceName("myIoTCentralApp")
.sku(AppSkuInfoArgs.builder()
.name("ST2")
.build())
.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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}

Properties

Link copied to clipboard
val applicationId: Output<String>

The ID of the application.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

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

The display name of the application.

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

The managed identities for the IoT Central application.

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

Network Rule Set Properties of this IoT Central application.

Link copied to clipboard

Private endpoint connections created on this IoT Central application.

Link copied to clipboard

The provisioning state of the application.

Link copied to clipboard

Whether requests from the public network are allowed.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sku: Output<AppSkuInfoResponse>

A valid instance SKU.

Link copied to clipboard
val state: Output<String>

The current state of the application.

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

The subdomain of the application.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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

Resource tags.

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

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.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>