Class Definition
Manages a Managed Application Definition.
Inherited Members
Namespace: Pulumi.Azure.ManagedApplication
Assembly: Pulumi.Azure.dll
Syntax
public class Definition : CustomResource
Constructors
View SourceDefinition(String, DefinitionArgs, CustomResourceOptions)
Create a Definition resource with the given unique name, arguments, and options.
Declaration
public Definition(string name, DefinitionArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DefinitionArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAuthorizations
One or more authorization block defined below.
Declaration
public Output<ImmutableArray<DefinitionAuthorization>> Authorizations { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<DefinitionAuthorization>> |
CreateUiDefinition
Specifies the createUiDefinition json for the backing template with Microsoft.Solutions/applications resource.
Declaration
public Output<string> CreateUiDefinition { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
Specifies the managed application definition description.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DisplayName
Specifies the managed application definition display name.
Declaration
public Output<string> DisplayName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Location
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LockLevel
Specifies the managed application lock level. Valid values include CanNotDelete, None, ReadOnly. Changing this forces a new resource to be created.
Declaration
public Output<string> LockLevel { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MainTemplate
Specifies the inline main template json which has resources to be provisioned.
Declaration
public Output<string> MainTemplate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the Managed Application Definition. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PackageEnabled
Is the package enabled? Defaults to true.
Declaration
public Output<bool?> PackageEnabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
PackageFileUri
Specifies the managed application definition package file Uri.
Declaration
public Output<string> PackageFileUri { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the Resource Group where the Managed Application Definition should exist. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Methods
View SourceGet(String, Input<String>, DefinitionState, CustomResourceOptions)
Get an existing Definition resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Definition Get(string name, Input<string> id, DefinitionState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| DefinitionState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Definition |