We recommend using Azure Native.
azure.managedapplication.Application
Explore with Pulumi AI
Manages a Managed Application.
Example Usage
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var current = Azure.Core.GetClientConfig.Invoke();
var builtin = Azure.Authorization.GetRoleDefinition.Invoke(new()
{
Name = "Contributor",
});
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
{
Location = "West Europe",
});
var exampleDefinition = new Azure.ManagedApplication.Definition("exampleDefinition", new()
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.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(builtin.Apply(getRoleDefinitionResult => getRoleDefinitionResult.Id).Split("/"), builtin.Apply(getRoleDefinitionResult => getRoleDefinitionResult.Id).Split("/").Length).Apply(values =>
{
var split = values.Item1;
var length = values.Item2;
return split[length - 1];
}),
},
},
});
var exampleApplication = new Azure.ManagedApplication.Application("exampleApplication", new()
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
Kind = "ServiceCatalog",
ManagedResourceGroupName = "infrastructureGroup",
ApplicationDefinitionId = exampleDefinition.Id,
ParameterValues = exampleResourceGroup.Location.Apply(location => JsonSerializer.Serialize(new Dictionary<string, object?>
{
["location"] = new Dictionary<string, object?>
{
["value"] = location,
},
["storageAccountNamePrefix"] = new Dictionary<string, object?>
{
["value"] = "storeNamePrefix",
},
["storageAccountType"] = new Dictionary<string, object?>
{
["value"] = "Standard_LRS",
},
})),
});
});
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/managedapplication"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := core.GetClientConfig(ctx, nil, nil)
if err != nil {
return err
}
builtin, err := authorization.LookupRoleDefinition(ctx, &authorization.LookupRoleDefinitionArgs{
Name: pulumi.StringRef("Contributor"),
}, nil)
if err != nil {
return err
}
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleDefinition, err := managedapplication.NewDefinition(ctx, "exampleDefinition", &managedapplication.DefinitionArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.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: "TODO: call split"[len("TODO: call split")-1],
},
},
})
if err != nil {
return err
}
_, err = managedapplication.NewApplication(ctx, "exampleApplication", &managedapplication.ApplicationArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
Kind: pulumi.String("ServiceCatalog"),
ManagedResourceGroupName: pulumi.String("infrastructureGroup"),
ApplicationDefinitionId: exampleDefinition.ID(),
ParameterValues: exampleResourceGroup.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
})
}
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleDefinition = new Definition("exampleDefinition", DefinitionArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.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(builtin.applyValue(getRoleDefinitionResult -> getRoleDefinitionResult.id()).split("/")[builtin.applyValue(getRoleDefinitionResult -> getRoleDefinitionResult.id()).split("/").length() - 1])
.build())
.build());
var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.kind("ServiceCatalog")
.managedResourceGroupName("infrastructureGroup")
.applicationDefinitionId(exampleDefinition.id())
.parameterValues(exampleResourceGroup.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());
}
}
import pulumi
import json
import pulumi_azure as azure
current = azure.core.get_client_config()
builtin = azure.authorization.get_role_definition(name="Contributor")
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_definition = azure.managedapplication.Definition("exampleDefinition",
location=example_resource_group.location,
resource_group_name=example_resource_group.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=[azure.managedapplication.DefinitionAuthorizationArgs(
service_principal_id=current.object_id,
role_definition_id=builtin.id.split("/")[len(builtin.id.split("/")) - 1],
)])
example_application = azure.managedapplication.Application("exampleApplication",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
kind="ServiceCatalog",
managed_resource_group_name="infrastructureGroup",
application_definition_id=example_definition.id,
parameter_values=example_resource_group.location.apply(lambda location: json.dumps({
"location": {
"value": location,
},
"storageAccountNamePrefix": {
"value": "storeNamePrefix",
},
"storageAccountType": {
"value": "Standard_LRS",
},
})))
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const current = azure.core.getClientConfig({});
const builtin = azure.authorization.getRoleDefinition({
name: "Contributor",
});
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleDefinition = new azure.managedapplication.Definition("exampleDefinition", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.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 => builtin.id.split("/")), builtin.then(builtin => builtin.id.split("/")).length]).then(([split, length]) => split[length - 1]),
}],
});
const exampleApplication = new azure.managedapplication.Application("exampleApplication", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
kind: "ServiceCatalog",
managedResourceGroupName: "infrastructureGroup",
applicationDefinitionId: exampleDefinition.id,
parameterValues: exampleResourceGroup.location.apply(location => JSON.stringify({
location: {
value: location,
},
storageAccountNamePrefix: {
value: "storeNamePrefix",
},
storageAccountType: {
value: "Standard_LRS",
},
})),
});
Coming soon!
Create Application Resource
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: 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,
parameter_values: Optional[str] = None,
parameters: Optional[Mapping[str, str]] = None,
plan: Optional[ApplicationPlanArgs] = None,
resource_group_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def Application(resource_name: str,
args: ApplicationArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
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
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.
- Parameters Dictionary<string, string>
A mapping of name and value pairs to pass to the managed application as parameters.
NOTE:
parameters
only supports values withstring
orsecureString
type and will be deprecated in version 4.0 of the provider - please useparameter_values
instead which supports more parameter types.This property has been deprecated in favour of
parameter_values
- 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.
- Parameters map[string]string
A mapping of name and value pairs to pass to the managed application as parameters.
NOTE:
parameters
only supports values withstring
orsecureString
type and will be deprecated in version 4.0 of the provider - please useparameter_values
instead which supports more parameter types.This property has been deprecated in favour of
parameter_values
- 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.
- parameters Map<String,String>
A mapping of name and value pairs to pass to the managed application as parameters.
NOTE:
parameters
only supports values withstring
orsecureString
type and will be deprecated in version 4.0 of the provider - please useparameter_values
instead which supports more parameter types.This property has been deprecated in favour of
parameter_values
- 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.
- parameters {[key: string]: string}
A mapping of name and value pairs to pass to the managed application as parameters.
NOTE:
parameters
only supports values withstring
orsecureString
type and will be deprecated in version 4.0 of the provider - please useparameter_values
instead which supports more parameter types.This property has been deprecated in favour of
parameter_values
- 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.
- parameters Mapping[str, str]
A mapping of name and value pairs to pass to the managed application as parameters.
NOTE:
parameters
only supports values withstring
orsecureString
type and will be deprecated in version 4.0 of the provider - please useparameter_values
instead which supports more parameter types.This property has been deprecated in favour of
parameter_values
- 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.
- parameters Map<String>
A mapping of name and value pairs to pass to the managed application as parameters.
NOTE:
parameters
only supports values withstring
orsecureString
type and will be deprecated in version 4.0 of the provider - please useparameter_values
instead which supports more parameter types.This property has been deprecated in favour of
parameter_values
- 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,
parameters: Optional[Mapping[str, 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.
- Parameters Dictionary<string, string>
A mapping of name and value pairs to pass to the managed application as parameters.
NOTE:
parameters
only supports values withstring
orsecureString
type and will be deprecated in version 4.0 of the provider - please useparameter_values
instead which supports more parameter types.This property has been deprecated in favour of
parameter_values
- 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.
- Parameters map[string]string
A mapping of name and value pairs to pass to the managed application as parameters.
NOTE:
parameters
only supports values withstring
orsecureString
type and will be deprecated in version 4.0 of the provider - please useparameter_values
instead which supports more parameter types.This property has been deprecated in favour of
parameter_values
- 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.
- parameters Map<String,String>
A mapping of name and value pairs to pass to the managed application as parameters.
NOTE:
parameters
only supports values withstring
orsecureString
type and will be deprecated in version 4.0 of the provider - please useparameter_values
instead which supports more parameter types.This property has been deprecated in favour of
parameter_values
- 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.
- parameters {[key: string]: string}
A mapping of name and value pairs to pass to the managed application as parameters.
NOTE:
parameters
only supports values withstring
orsecureString
type and will be deprecated in version 4.0 of the provider - please useparameter_values
instead which supports more parameter types.This property has been deprecated in favour of
parameter_values
- 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.
- parameters Mapping[str, str]
A mapping of name and value pairs to pass to the managed application as parameters.
NOTE:
parameters
only supports values withstring
orsecureString
type and will be deprecated in version 4.0 of the provider - please useparameter_values
instead which supports more parameter types.This property has been deprecated in favour of
parameter_values
- 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.
- parameters Map<String>
A mapping of name and value pairs to pass to the managed application as parameters.
NOTE:
parameters
only supports values withstring
orsecureString
type and will be deprecated in version 4.0 of the provider - please useparameter_values
instead which supports more parameter types.This property has been deprecated in favour of
parameter_values
- 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
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.