ApplicationDefinition

Information about managed application definition. API Version: 2019-07-01.

Example Usage

Create or update managed application definition

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var applicationDefinition = new AzureNative.Solutions.ApplicationDefinition("applicationDefinition", new()
{
ApplicationDefinitionName = "myManagedApplicationDef",
Authorizations = new[]
{
new AzureNative.Solutions.Inputs.ApplicationAuthorizationArgs
{
PrincipalId = "validprincipalguid",
RoleDefinitionId = "validroleguid",
},
},
Description = "myManagedApplicationDef description",
DisplayName = "myManagedApplicationDef",
Location = "East US 2",
LockLevel = AzureNative.Solutions.ApplicationLockLevel.None,
PackageFileUri = "https://path/to/packagezipfile",
ResourceGroupName = "rg",
});
});
package main
import (
solutions "github.com/pulumi/pulumi-azure-native/sdk/go/azure/solutions"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := solutions.NewApplicationDefinition(ctx, "applicationDefinition", &solutions.ApplicationDefinitionArgs{
ApplicationDefinitionName: pulumi.String("myManagedApplicationDef"),
Authorizations: []solutions.ApplicationAuthorizationArgs{
{
PrincipalId: pulumi.String("validprincipalguid"),
RoleDefinitionId: pulumi.String("validroleguid"),
},
},
Description: pulumi.String("myManagedApplicationDef description"),
DisplayName: pulumi.String("myManagedApplicationDef"),
Location: pulumi.String("East US 2"),
LockLevel: solutions.ApplicationLockLevelNone,
PackageFileUri: pulumi.String("https://path/to/packagezipfile"),
ResourceGroupName: pulumi.String("rg"),
})
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.solutions.ApplicationDefinition;
import com.pulumi.azurenative.solutions.ApplicationDefinitionArgs;
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 applicationDefinition = new ApplicationDefinition("applicationDefinition", ApplicationDefinitionArgs.builder()
.applicationDefinitionName("myManagedApplicationDef")
.authorizations(Map.ofEntries(
Map.entry("principalId", "validprincipalguid"),
Map.entry("roleDefinitionId", "validroleguid")
))
.description("myManagedApplicationDef description")
.displayName("myManagedApplicationDef")
.location("East US 2")
.lockLevel("None")
.packageFileUri("https://path/to/packagezipfile")
.resourceGroupName("rg")
.build());
}
}

Import

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

$ pulumi import azure-native:solutions:ApplicationDefinition myManagedApplicationDef /subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myManagedApplicationDef

Properties

Link copied to clipboard

The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.

Link copied to clipboard

The managed application provider authorizations.

Link copied to clipboard
val createUiDefinition: Output<Any>?

The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.

Link copied to clipboard

The managed application deployment policy.

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

The managed application definition description.

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

The managed application definition display name.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val isEnabled: Output<Boolean>?

A value indicating whether the package is enabled or not.

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

Resource location

Link copied to clipboard

The managed application locking policy.

Link copied to clipboard
val lockLevel: Output<String>

The managed application lock level.

Link copied to clipboard
val mainTemplate: Output<Any>?

The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.

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

ID of the resource that manages this resource.

Link copied to clipboard

The managed application management policy that determines publisher's access to the managed resource group.

Link copied to clipboard
val name: Output<String>

Resource name

Link copied to clipboard

The managed application notification policy.

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

The managed application definition package file Uri. Use this element

Link copied to clipboard

The managed application provider policies.

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

The SKU of the resource.

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

The storage account id for bring your own storage scenario.

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

Resource tags

Link copied to clipboard
val type: Output<String>

Resource type

Link copied to clipboard
val urn: Output<String>