We recommend using Azure Native.
azure.managedapplication.Application
Explore with Pulumi AI
Manages a Managed Application.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
import * as std from "@pulumi/std";
const current = azure.core.getClientConfig({});
const builtin = azure.authorization.getRoleDefinition({
name: "Contributor",
});
const example = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const exampleDefinition = new azure.managedapplication.Definition("example", {
name: "examplemanagedapplicationdefinition",
location: example.location,
resourceGroupName: example.name,
lockLevel: "ReadOnly",
packageFileUri: "https://github.com/Azure/azure-managedapp-samples/raw/master/Managed Application Sample Packages/201-managed-storage-account/managedstorage.zip",
displayName: "TestManagedAppDefinition",
description: "Test Managed App Definition",
authorizations: [{
servicePrincipalId: current.then(current => current.objectId),
roleDefinitionId: Promise.all([builtin.then(builtin => std.split({
separator: "/",
text: builtin.id,
})), builtin.then(builtin => std.split({
separator: "/",
text: builtin.id,
})).then(invoke => invoke.result).length]).then(([invoke, length]) => invoke.result[length - 1]),
}],
});
const exampleApplication = new azure.managedapplication.Application("example", {
name: "example-managedapplication",
location: example.location,
resourceGroupName: example.name,
kind: "ServiceCatalog",
managedResourceGroupName: "infrastructureGroup",
applicationDefinitionId: exampleDefinition.id,
parameterValues: pulumi.jsonStringify({
location: {
value: example.location,
},
storageAccountNamePrefix: {
value: "storeNamePrefix",
},
storageAccountType: {
value: "Standard_LRS",
},
}),
});
import pulumi
import json
import pulumi_azure as azure
import pulumi_std as std
current = azure.core.get_client_config()
builtin = azure.authorization.get_role_definition(name="Contributor")
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_definition = azure.managedapplication.Definition("example",
name="examplemanagedapplicationdefinition",
location=example.location,
resource_group_name=example.name,
lock_level="ReadOnly",
package_file_uri="https://github.com/Azure/azure-managedapp-samples/raw/master/Managed Application Sample Packages/201-managed-storage-account/managedstorage.zip",
display_name="TestManagedAppDefinition",
description="Test Managed App Definition",
authorizations=[{
"service_principal_id": current.object_id,
"role_definition_id": std.split(separator="/",
text=builtin.id).result[len(std.split(separator="/",
text=builtin.id).result) - 1],
}])
example_application = azure.managedapplication.Application("example",
name="example-managedapplication",
location=example.location,
resource_group_name=example.name,
kind="ServiceCatalog",
managed_resource_group_name="infrastructureGroup",
application_definition_id=example_definition.id,
parameter_values=pulumi.Output.json_dumps({
"location": {
"value": example.location,
},
"storageAccountNamePrefix": {
"value": "storeNamePrefix",
},
"storageAccountType": {
"value": "Standard_LRS",
},
}))
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/managedapplication"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
builtin, err := authorization.LookupRoleDefinition(ctx, &authorization.LookupRoleDefinitionArgs{
Name: pulumi.StringRef("Contributor"),
}, nil)
if err != nil {
return err
}
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
invokeSplit, err := std.Split(ctx, &std.SplitArgs{
Separator: "/",
Text: builtin.Id,
}, nil)
if err != nil {
return err
}
invokeSplit1, err := std.Split(ctx, &std.SplitArgs{
Separator: "/",
Text: builtin.Id,
}, nil)
if err != nil {
return err
}
exampleDefinition, err := managedapplication.NewDefinition(ctx, "example", &managedapplication.DefinitionArgs{
Name: pulumi.String("examplemanagedapplicationdefinition"),
Location: example.Location,
ResourceGroupName: example.Name,
LockLevel: pulumi.String("ReadOnly"),
PackageFileUri: pulumi.String("https://github.com/Azure/azure-managedapp-samples/raw/master/Managed Application Sample Packages/201-managed-storage-account/managedstorage.zip"),
DisplayName: pulumi.String("TestManagedAppDefinition"),
Description: pulumi.String("Test Managed App Definition"),
Authorizations: managedapplication.DefinitionAuthorizationArray{
&managedapplication.DefinitionAuthorizationArgs{
ServicePrincipalId: pulumi.String(current.ObjectId),
RoleDefinitionId: pulumi.String(invokeSplit.Result[float64(pulumi.Float64(len(invokeSplit1.Result))-1)]),
},
},
})
if err != nil {
return err
}
_, err = managedapplication.NewApplication(ctx, "example", &managedapplication.ApplicationArgs{
Name: pulumi.String("example-managedapplication"),
Location: example.Location,
ResourceGroupName: example.Name,
Kind: pulumi.String("ServiceCatalog"),
ManagedResourceGroupName: pulumi.String("infrastructureGroup"),
ApplicationDefinitionId: exampleDefinition.ID(),
ParameterValues: example.Location.ApplyT(func(location string) (pulumi.String, error) {
var _zero pulumi.String
tmpJSON0, err := json.Marshal(map[string]interface{}{
"location": map[string]interface{}{
"value": location,
},
"storageAccountNamePrefix": map[string]interface{}{
"value": "storeNamePrefix",
},
"storageAccountType": map[string]interface{}{
"value": "Standard_LRS",
},
})
if err != nil {
return _zero, err
}
json0 := string(tmpJSON0)
return pulumi.String(json0), nil
}).(pulumi.StringOutput),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Azure = Pulumi.Azure;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var current = Azure.Core.GetClientConfig.Invoke();
var builtin = Azure.Authorization.GetRoleDefinition.Invoke(new()
{
Name = "Contributor",
});
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleDefinition = new Azure.ManagedApplication.Definition("example", new()
{
Name = "examplemanagedapplicationdefinition",
Location = example.Location,
ResourceGroupName = example.Name,
LockLevel = "ReadOnly",
PackageFileUri = "https://github.com/Azure/azure-managedapp-samples/raw/master/Managed Application Sample Packages/201-managed-storage-account/managedstorage.zip",
DisplayName = "TestManagedAppDefinition",
Description = "Test Managed App Definition",
Authorizations = new[]
{
new Azure.ManagedApplication.Inputs.DefinitionAuthorizationArgs
{
ServicePrincipalId = current.Apply(getClientConfigResult => getClientConfigResult.ObjectId),
RoleDefinitionId = Output.Tuple(Std.Split.Invoke(new()
{
Separator = "/",
Text = builtin.Apply(getRoleDefinitionResult => getRoleDefinitionResult.Id),
}), Std.Split.Invoke(new()
{
Separator = "/",
Text = builtin.Apply(getRoleDefinitionResult => getRoleDefinitionResult.Id),
}).Apply(invoke => invoke.Result).Length).Apply(values =>
{
var invoke = values.Item1;
var length = values.Item2;
return invoke.Result[length - 1];
}),
},
},
});
var exampleApplication = new Azure.ManagedApplication.Application("example", new()
{
Name = "example-managedapplication",
Location = example.Location,
ResourceGroupName = example.Name,
Kind = "ServiceCatalog",
ManagedResourceGroupName = "infrastructureGroup",
ApplicationDefinitionId = exampleDefinition.Id,
ParameterValues = Output.JsonSerialize(Output.Create(new Dictionary<string, object?>
{
["location"] = new Dictionary<string, object?>
{
["value"] = example.Location,
},
["storageAccountNamePrefix"] = new Dictionary<string, object?>
{
["value"] = "storeNamePrefix",
},
["storageAccountType"] = new Dictionary<string, object?>
{
["value"] = "Standard_LRS",
},
})),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.authorization.AuthorizationFunctions;
import com.pulumi.azure.authorization.inputs.GetRoleDefinitionArgs;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.managedapplication.Definition;
import com.pulumi.azure.managedapplication.DefinitionArgs;
import com.pulumi.azure.managedapplication.inputs.DefinitionAuthorizationArgs;
import com.pulumi.azure.managedapplication.Application;
import com.pulumi.azure.managedapplication.ApplicationArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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) {
final var current = CoreFunctions.getClientConfig();
final var builtin = AuthorizationFunctions.getRoleDefinition(GetRoleDefinitionArgs.builder()
.name("Contributor")
.build());
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var exampleDefinition = new Definition("exampleDefinition", DefinitionArgs.builder()
.name("examplemanagedapplicationdefinition")
.location(example.location())
.resourceGroupName(example.name())
.lockLevel("ReadOnly")
.packageFileUri("https://github.com/Azure/azure-managedapp-samples/raw/master/Managed Application Sample Packages/201-managed-storage-account/managedstorage.zip")
.displayName("TestManagedAppDefinition")
.description("Test Managed App Definition")
.authorizations(DefinitionAuthorizationArgs.builder()
.servicePrincipalId(current.applyValue(getClientConfigResult -> getClientConfigResult.objectId()))
.roleDefinitionId(StdFunctions.split(SplitArgs.builder()
.separator("/")
.text(builtin.applyValue(getRoleDefinitionResult -> getRoleDefinitionResult.id()))
.build()).result()[StdFunctions.split(SplitArgs.builder()
.separator("/")
.text(builtin.applyValue(getRoleDefinitionResult -> getRoleDefinitionResult.id()))
.build()).result().length() - 1])
.build())
.build());
var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()
.name("example-managedapplication")
.location(example.location())
.resourceGroupName(example.name())
.kind("ServiceCatalog")
.managedResourceGroupName("infrastructureGroup")
.applicationDefinitionId(exampleDefinition.id())
.parameterValues(example.location().applyValue(location -> serializeJson(
jsonObject(
jsonProperty("location", jsonObject(
jsonProperty("value", location)
)),
jsonProperty("storageAccountNamePrefix", jsonObject(
jsonProperty("value", "storeNamePrefix")
)),
jsonProperty("storageAccountType", jsonObject(
jsonProperty("value", "Standard_LRS")
))
))))
.build());
}
}
Coming soon!
Create Application Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: str,
args: ApplicationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Application(resource_name: str,
opts: Optional[ResourceOptions] = None,
kind: Optional[str] = None,
managed_resource_group_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
application_definition_id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
parameter_values: Optional[str] = None,
plan: Optional[ApplicationPlanArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)
public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: azure:managedapplication:Application
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleapplicationResourceResourceFromManagedapplicationapplication = new Azure.ManagedApplication.Application("exampleapplicationResourceResourceFromManagedapplicationapplication", new()
{
Kind = "string",
ManagedResourceGroupName = "string",
ResourceGroupName = "string",
ApplicationDefinitionId = "string",
Location = "string",
Name = "string",
ParameterValues = "string",
Plan = new Azure.ManagedApplication.Inputs.ApplicationPlanArgs
{
Name = "string",
Product = "string",
Publisher = "string",
Version = "string",
PromotionCode = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := managedapplication.NewApplication(ctx, "exampleapplicationResourceResourceFromManagedapplicationapplication", &managedapplication.ApplicationArgs{
Kind: pulumi.String("string"),
ManagedResourceGroupName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ApplicationDefinitionId: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
ParameterValues: pulumi.String("string"),
Plan: &managedapplication.ApplicationPlanArgs{
Name: pulumi.String("string"),
Product: pulumi.String("string"),
Publisher: pulumi.String("string"),
Version: pulumi.String("string"),
PromotionCode: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var exampleapplicationResourceResourceFromManagedapplicationapplication = new Application("exampleapplicationResourceResourceFromManagedapplicationapplication", ApplicationArgs.builder()
.kind("string")
.managedResourceGroupName("string")
.resourceGroupName("string")
.applicationDefinitionId("string")
.location("string")
.name("string")
.parameterValues("string")
.plan(ApplicationPlanArgs.builder()
.name("string")
.product("string")
.publisher("string")
.version("string")
.promotionCode("string")
.build())
.tags(Map.of("string", "string"))
.build());
exampleapplication_resource_resource_from_managedapplicationapplication = azure.managedapplication.Application("exampleapplicationResourceResourceFromManagedapplicationapplication",
kind="string",
managed_resource_group_name="string",
resource_group_name="string",
application_definition_id="string",
location="string",
name="string",
parameter_values="string",
plan={
"name": "string",
"product": "string",
"publisher": "string",
"version": "string",
"promotion_code": "string",
},
tags={
"string": "string",
})
const exampleapplicationResourceResourceFromManagedapplicationapplication = new azure.managedapplication.Application("exampleapplicationResourceResourceFromManagedapplicationapplication", {
kind: "string",
managedResourceGroupName: "string",
resourceGroupName: "string",
applicationDefinitionId: "string",
location: "string",
name: "string",
parameterValues: "string",
plan: {
name: "string",
product: "string",
publisher: "string",
version: "string",
promotionCode: "string",
},
tags: {
string: "string",
},
});
type: azure:managedapplication:Application
properties:
applicationDefinitionId: string
kind: string
location: string
managedResourceGroupName: string
name: string
parameterValues: string
plan:
name: string
product: string
promotionCode: string
publisher: string
version: string
resourceGroupName: string
tags:
string: string
Application Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Application resource accepts the following input properties:
- Kind string
- The kind of the managed application to deploy. Possible values are
MarketPlace
andServiceCatalog
. Changing this forces a new resource to be created. - Managed
Resource stringGroup Name - The name of the target resource group where all the resources deployed by the managed application will reside. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the Resource Group where the Managed Application should exist. Changing this forces a new resource to be created.
- Application
Definition stringId - The application definition ID to deploy.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Managed Application. Changing this forces a new resource to be created.
- Parameter
Values string - The parameter values to pass to the Managed Application. This field is a JSON object that allows you to assign parameters to this Managed Application.
- Plan
Application
Plan - One
plan
block as defined below. Changing this forces a new resource to be created. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Kind string
- The kind of the managed application to deploy. Possible values are
MarketPlace
andServiceCatalog
. Changing this forces a new resource to be created. - Managed
Resource stringGroup Name - The name of the target resource group where all the resources deployed by the managed application will reside. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the Resource Group where the Managed Application should exist. Changing this forces a new resource to be created.
- Application
Definition stringId - The application definition ID to deploy.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Managed Application. Changing this forces a new resource to be created.
- Parameter
Values string - The parameter values to pass to the Managed Application. This field is a JSON object that allows you to assign parameters to this Managed Application.
- Plan
Application
Plan Args - One
plan
block as defined below. Changing this forces a new resource to be created. - map[string]string
- A mapping of tags to assign to the resource.
- kind String
- The kind of the managed application to deploy. Possible values are
MarketPlace
andServiceCatalog
. Changing this forces a new resource to be created. - managed
Resource StringGroup Name - The name of the target resource group where all the resources deployed by the managed application will reside. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the Resource Group where the Managed Application should exist. Changing this forces a new resource to be created.
- application
Definition StringId - The application definition ID to deploy.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Managed Application. Changing this forces a new resource to be created.
- parameter
Values String - The parameter values to pass to the Managed Application. This field is a JSON object that allows you to assign parameters to this Managed Application.
- plan
Application
Plan - One
plan
block as defined below. Changing this forces a new resource to be created. - Map<String,String>
- A mapping of tags to assign to the resource.
- kind string
- The kind of the managed application to deploy. Possible values are
MarketPlace
andServiceCatalog
. Changing this forces a new resource to be created. - managed
Resource stringGroup Name - The name of the target resource group where all the resources deployed by the managed application will reside. Changing this forces a new resource to be created.
- resource
Group stringName - The name of the Resource Group where the Managed Application should exist. Changing this forces a new resource to be created.
- application
Definition stringId - The application definition ID to deploy.
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Managed Application. Changing this forces a new resource to be created.
- parameter
Values string - The parameter values to pass to the Managed Application. This field is a JSON object that allows you to assign parameters to this Managed Application.
- plan
Application
Plan - One
plan
block as defined below. Changing this forces a new resource to be created. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- kind str
- The kind of the managed application to deploy. Possible values are
MarketPlace
andServiceCatalog
. Changing this forces a new resource to be created. - managed_
resource_ strgroup_ name - The name of the target resource group where all the resources deployed by the managed application will reside. Changing this forces a new resource to be created.
- resource_
group_ strname - The name of the Resource Group where the Managed Application should exist. Changing this forces a new resource to be created.
- application_
definition_ strid - The application definition ID to deploy.
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Managed Application. Changing this forces a new resource to be created.
- parameter_
values str - The parameter values to pass to the Managed Application. This field is a JSON object that allows you to assign parameters to this Managed Application.
- plan
Application
Plan Args - One
plan
block as defined below. Changing this forces a new resource to be created. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- kind String
- The kind of the managed application to deploy. Possible values are
MarketPlace
andServiceCatalog
. Changing this forces a new resource to be created. - managed
Resource StringGroup Name - The name of the target resource group where all the resources deployed by the managed application will reside. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the Resource Group where the Managed Application should exist. Changing this forces a new resource to be created.
- application
Definition StringId - The application definition ID to deploy.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Managed Application. Changing this forces a new resource to be created.
- parameter
Values String - The parameter values to pass to the Managed Application. This field is a JSON object that allows you to assign parameters to this Managed Application.
- plan Property Map
- One
plan
block as defined below. Changing this forces a new resource to be created. - Map<String>
- A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:
Look up Existing Application Resource
Get an existing Application resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApplicationState, opts?: CustomResourceOptions): Application
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_definition_id: Optional[str] = None,
kind: Optional[str] = None,
location: Optional[str] = None,
managed_resource_group_name: Optional[str] = None,
name: Optional[str] = None,
outputs: Optional[Mapping[str, str]] = None,
parameter_values: Optional[str] = None,
plan: Optional[ApplicationPlanArgs] = None,
resource_group_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None) -> Application
func GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)
public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)
public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Application
Definition stringId - The application definition ID to deploy.
- Kind string
- The kind of the managed application to deploy. Possible values are
MarketPlace
andServiceCatalog
. Changing this forces a new resource to be created. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Managed
Resource stringGroup Name - The name of the target resource group where all the resources deployed by the managed application will reside. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Managed Application. Changing this forces a new resource to be created.
- Outputs Dictionary<string, string>
- The name and value pairs that define the managed application outputs.
- Parameter
Values string - The parameter values to pass to the Managed Application. This field is a JSON object that allows you to assign parameters to this Managed Application.
- Plan
Application
Plan - One
plan
block as defined below. Changing this forces a new resource to be created. - Resource
Group stringName - The name of the Resource Group where the Managed Application should exist. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Application
Definition stringId - The application definition ID to deploy.
- Kind string
- The kind of the managed application to deploy. Possible values are
MarketPlace
andServiceCatalog
. Changing this forces a new resource to be created. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Managed
Resource stringGroup Name - The name of the target resource group where all the resources deployed by the managed application will reside. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Managed Application. Changing this forces a new resource to be created.
- Outputs map[string]string
- The name and value pairs that define the managed application outputs.
- Parameter
Values string - The parameter values to pass to the Managed Application. This field is a JSON object that allows you to assign parameters to this Managed Application.
- Plan
Application
Plan Args - One
plan
block as defined below. Changing this forces a new resource to be created. - Resource
Group stringName - The name of the Resource Group where the Managed Application should exist. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags to assign to the resource.
- application
Definition StringId - The application definition ID to deploy.
- kind String
- The kind of the managed application to deploy. Possible values are
MarketPlace
andServiceCatalog
. Changing this forces a new resource to be created. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- managed
Resource StringGroup Name - The name of the target resource group where all the resources deployed by the managed application will reside. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Managed Application. Changing this forces a new resource to be created.
- outputs Map<String,String>
- The name and value pairs that define the managed application outputs.
- parameter
Values String - The parameter values to pass to the Managed Application. This field is a JSON object that allows you to assign parameters to this Managed Application.
- plan
Application
Plan - One
plan
block as defined below. Changing this forces a new resource to be created. - resource
Group StringName - The name of the Resource Group where the Managed Application should exist. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags to assign to the resource.
- application
Definition stringId - The application definition ID to deploy.
- kind string
- The kind of the managed application to deploy. Possible values are
MarketPlace
andServiceCatalog
. Changing this forces a new resource to be created. - location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- managed
Resource stringGroup Name - The name of the target resource group where all the resources deployed by the managed application will reside. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Managed Application. Changing this forces a new resource to be created.
- outputs {[key: string]: string}
- The name and value pairs that define the managed application outputs.
- parameter
Values string - The parameter values to pass to the Managed Application. This field is a JSON object that allows you to assign parameters to this Managed Application.
- plan
Application
Plan - One
plan
block as defined below. Changing this forces a new resource to be created. - resource
Group stringName - The name of the Resource Group where the Managed Application should exist. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- application_
definition_ strid - The application definition ID to deploy.
- kind str
- The kind of the managed application to deploy. Possible values are
MarketPlace
andServiceCatalog
. Changing this forces a new resource to be created. - location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- managed_
resource_ strgroup_ name - The name of the target resource group where all the resources deployed by the managed application will reside. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Managed Application. Changing this forces a new resource to be created.
- outputs Mapping[str, str]
- The name and value pairs that define the managed application outputs.
- parameter_
values str - The parameter values to pass to the Managed Application. This field is a JSON object that allows you to assign parameters to this Managed Application.
- plan
Application
Plan Args - One
plan
block as defined below. Changing this forces a new resource to be created. - resource_
group_ strname - The name of the Resource Group where the Managed Application should exist. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- application
Definition StringId - The application definition ID to deploy.
- kind String
- The kind of the managed application to deploy. Possible values are
MarketPlace
andServiceCatalog
. Changing this forces a new resource to be created. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- managed
Resource StringGroup Name - The name of the target resource group where all the resources deployed by the managed application will reside. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Managed Application. Changing this forces a new resource to be created.
- outputs Map<String>
- The name and value pairs that define the managed application outputs.
- parameter
Values String - The parameter values to pass to the Managed Application. This field is a JSON object that allows you to assign parameters to this Managed Application.
- plan Property Map
- One
plan
block as defined below. Changing this forces a new resource to be created. - resource
Group StringName - The name of the Resource Group where the Managed Application should exist. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags to assign to the resource.
Supporting Types
ApplicationPlan, ApplicationPlanArgs
- Name string
- Specifies the name of the plan from the marketplace. Changing this forces a new resource to be created.
- Product string
- Specifies the product of the plan from the marketplace. Changing this forces a new resource to be created.
- Publisher string
- Specifies the publisher of the plan. Changing this forces a new resource to be created.
- Version string
- Specifies the version of the plan from the marketplace. Changing this forces a new resource to be created.
- Promotion
Code string Specifies the promotion code to use with the plan. Changing this forces a new resource to be created.
NOTE: When
plan
is specified, legal terms must be accepted for this item on this subscription before creating the Managed Application. Theazure.marketplace.Agreement
resource or AZ CLI tool can be used to do this.
- Name string
- Specifies the name of the plan from the marketplace. Changing this forces a new resource to be created.
- Product string
- Specifies the product of the plan from the marketplace. Changing this forces a new resource to be created.
- Publisher string
- Specifies the publisher of the plan. Changing this forces a new resource to be created.
- Version string
- Specifies the version of the plan from the marketplace. Changing this forces a new resource to be created.
- Promotion
Code string Specifies the promotion code to use with the plan. Changing this forces a new resource to be created.
NOTE: When
plan
is specified, legal terms must be accepted for this item on this subscription before creating the Managed Application. Theazure.marketplace.Agreement
resource or AZ CLI tool can be used to do this.
- name String
- Specifies the name of the plan from the marketplace. Changing this forces a new resource to be created.
- product String
- Specifies the product of the plan from the marketplace. Changing this forces a new resource to be created.
- publisher String
- Specifies the publisher of the plan. Changing this forces a new resource to be created.
- version String
- Specifies the version of the plan from the marketplace. Changing this forces a new resource to be created.
- promotion
Code String Specifies the promotion code to use with the plan. Changing this forces a new resource to be created.
NOTE: When
plan
is specified, legal terms must be accepted for this item on this subscription before creating the Managed Application. Theazure.marketplace.Agreement
resource or AZ CLI tool can be used to do this.
- name string
- Specifies the name of the plan from the marketplace. Changing this forces a new resource to be created.
- product string
- Specifies the product of the plan from the marketplace. Changing this forces a new resource to be created.
- publisher string
- Specifies the publisher of the plan. Changing this forces a new resource to be created.
- version string
- Specifies the version of the plan from the marketplace. Changing this forces a new resource to be created.
- promotion
Code string Specifies the promotion code to use with the plan. Changing this forces a new resource to be created.
NOTE: When
plan
is specified, legal terms must be accepted for this item on this subscription before creating the Managed Application. Theazure.marketplace.Agreement
resource or AZ CLI tool can be used to do this.
- name str
- Specifies the name of the plan from the marketplace. Changing this forces a new resource to be created.
- product str
- Specifies the product of the plan from the marketplace. Changing this forces a new resource to be created.
- publisher str
- Specifies the publisher of the plan. Changing this forces a new resource to be created.
- version str
- Specifies the version of the plan from the marketplace. Changing this forces a new resource to be created.
- promotion_
code str Specifies the promotion code to use with the plan. Changing this forces a new resource to be created.
NOTE: When
plan
is specified, legal terms must be accepted for this item on this subscription before creating the Managed Application. Theazure.marketplace.Agreement
resource or AZ CLI tool can be used to do this.
- name String
- Specifies the name of the plan from the marketplace. Changing this forces a new resource to be created.
- product String
- Specifies the product of the plan from the marketplace. Changing this forces a new resource to be created.
- publisher String
- Specifies the publisher of the plan. Changing this forces a new resource to be created.
- version String
- Specifies the version of the plan from the marketplace. Changing this forces a new resource to be created.
- promotion
Code String Specifies the promotion code to use with the plan. Changing this forces a new resource to be created.
NOTE: When
plan
is specified, legal terms must be accepted for this item on this subscription before creating the Managed Application. Theazure.marketplace.Agreement
resource or AZ CLI tool can be used to do this.
Import
Managed Application can be imported using the resource id
, e.g.
$ pulumi import azure:managedapplication/application:Application example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Solutions/applications/app1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.