ApplicationArgs

data class ApplicationArgs(val applicationDefinitionId: Output<String>? = null, val applicationName: Output<String>? = null, val identity: Output<IdentityArgs>? = null, val jitAccessPolicy: Output<ApplicationJitAccessPolicyArgs>? = null, val kind: Output<String>? = null, val location: Output<String>? = null, val managedBy: Output<String>? = null, val managedResourceGroupId: Output<String>? = null, val parameters: Output<Any>? = null, val plan: Output<PlanArgs>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<SkuArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ApplicationArgs>

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

Example Usage

Create or update managed application

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var application = new AzureNative.Solutions.Application("application", new()
{
ApplicationDefinitionId = "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myAppDef",
ApplicationName = "myManagedApplication",
Kind = "ServiceCatalog",
ManagedResourceGroupId = "/subscriptions/subid/resourceGroups/myManagedRG",
ResourceGroupName = "rg",
});
});
package main
import (
solutions "github.com/pulumi/pulumi-azure-native-sdk/solutions/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := solutions.NewApplication(ctx, "application", &solutions.ApplicationArgs{
ApplicationDefinitionId: pulumi.String("/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myAppDef"),
ApplicationName: pulumi.String("myManagedApplication"),
Kind: pulumi.String("ServiceCatalog"),
ManagedResourceGroupId: pulumi.String("/subscriptions/subid/resourceGroups/myManagedRG"),
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.Application;
import com.pulumi.azurenative.solutions.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 application = new Application("application", ApplicationArgs.builder()
.applicationDefinitionId("/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myAppDef")
.applicationName("myManagedApplication")
.kind("ServiceCatalog")
.managedResourceGroupId("/subscriptions/subid/resourceGroups/myManagedRG")
.resourceGroupName("rg")
.build());
}
}

Import

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

$ pulumi import azure-native:solutions:Application myManagedApplication /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}

Constructors

Link copied to clipboard
constructor(applicationDefinitionId: Output<String>? = null, applicationName: Output<String>? = null, identity: Output<IdentityArgs>? = null, jitAccessPolicy: Output<ApplicationJitAccessPolicyArgs>? = null, kind: Output<String>? = null, location: Output<String>? = null, managedBy: Output<String>? = null, managedResourceGroupId: Output<String>? = null, parameters: Output<Any>? = null, plan: Output<PlanArgs>? = null, resourceGroupName: Output<String>? = null, sku: Output<SkuArgs>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

The fully qualified path of managed application definition Id.

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

The name of the managed application.

Link copied to clipboard
val identity: Output<IdentityArgs>? = null

The identity of the resource.

Link copied to clipboard

The managed application Jit access policy.

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

The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.

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

Resource location

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

ID of the resource that manages this resource.

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

The managed resource group Id.

Link copied to clipboard
val parameters: Output<Any>? = null

Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.

Link copied to clipboard
val plan: Output<PlanArgs>? = null

The plan information.

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

The name of the resource group. The name is case insensitive.

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

The SKU of the resource.

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

Resource tags

Functions

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