Definition
Manages a Managed Application Definition.
Create a Definition Resource
new Definition(name: string, args: DefinitionArgs, opts?: CustomResourceOptions);def Definition(resource_name, opts=None, authorizations=None, create_ui_definition=None, description=None, display_name=None, location=None, lock_level=None, main_template=None, name=None, package_enabled=None, package_file_uri=None, resource_group_name=None, tags=None, __props__=None);func NewDefinition(ctx *Context, name string, args DefinitionArgs, opts ...ResourceOption) (*Definition, error)public Definition(string name, DefinitionArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args DefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Definition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Definition resource accepts the following input properties:
- Display
Name string Specifies the managed application definition display name.
- Lock
Level string Specifies the managed application lock level. Valid values include
CanNotDelete,None,ReadOnly. Changing this forces a new resource to be created.- Resource
Group stringName The name of the Resource Group where the Managed Application Definition should exist. Changing this forces a new resource to be created.
-
List<Definition
Authorization Args> One or more
authorizationblock defined below.- Create
Ui stringDefinition Specifies the
createUiDefinitionjson for the backing template withMicrosoft.Solutions/applicationsresource.- Description string
Specifies the managed application definition description.
- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Main
Template string Specifies the inline main template json which has resources to be provisioned.
- Name string
Specifies the name of the Managed Application Definition. Changing this forces a new resource to be created.
- Package
Enabled bool Is the package enabled? Defaults to
true.- Package
File stringUri Specifies the managed application definition package file Uri.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Display
Name string Specifies the managed application definition display name.
- Lock
Level string Specifies the managed application lock level. Valid values include
CanNotDelete,None,ReadOnly. Changing this forces a new resource to be created.- Resource
Group stringName The name of the Resource Group where the Managed Application Definition should exist. Changing this forces a new resource to be created.
-
[]Definition
Authorization One or more
authorizationblock defined below.- Create
Ui stringDefinition Specifies the
createUiDefinitionjson for the backing template withMicrosoft.Solutions/applicationsresource.- Description string
Specifies the managed application definition description.
- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Main
Template string Specifies the inline main template json which has resources to be provisioned.
- Name string
Specifies the name of the Managed Application Definition. Changing this forces a new resource to be created.
- Package
Enabled bool Is the package enabled? Defaults to
true.- Package
File stringUri Specifies the managed application definition package file Uri.
- map[string]string
A mapping of tags to assign to the resource.
- display
Name string Specifies the managed application definition display name.
- lock
Level string Specifies the managed application lock level. Valid values include
CanNotDelete,None,ReadOnly. Changing this forces a new resource to be created.- resource
Group stringName The name of the Resource Group where the Managed Application Definition should exist. Changing this forces a new resource to be created.
-
Definition
Authorization[] One or more
authorizationblock defined below.- create
Ui stringDefinition Specifies the
createUiDefinitionjson for the backing template withMicrosoft.Solutions/applicationsresource.- description string
Specifies the managed application definition description.
- location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- main
Template string Specifies the inline main template json which has resources to be provisioned.
- name string
Specifies the name of the Managed Application Definition. Changing this forces a new resource to be created.
- package
Enabled boolean Is the package enabled? Defaults to
true.- package
File stringUri Specifies the managed application definition package file Uri.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- display_
name str Specifies the managed application definition display name.
- lock_
level str Specifies the managed application lock level. Valid values include
CanNotDelete,None,ReadOnly. Changing this forces a new resource to be created.- resource_
group_ strname The name of the Resource Group where the Managed Application Definition should exist. Changing this forces a new resource to be created.
-
List[Definition
Authorization] One or more
authorizationblock defined below.- create_
ui_ strdefinition Specifies the
createUiDefinitionjson for the backing template withMicrosoft.Solutions/applicationsresource.- description str
Specifies the managed application definition description.
- location str
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- main_
template str Specifies the inline main template json which has resources to be provisioned.
- name str
Specifies the name of the Managed Application Definition. Changing this forces a new resource to be created.
- package_
enabled bool Is the package enabled? Defaults to
true.- package_
file_ struri Specifies the managed application definition package file Uri.
- Dict[str, str]
A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Definition resource produces the following output properties:
Look up an Existing Definition Resource
Get an existing Definition 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?: DefinitionState, opts?: CustomResourceOptions): Definitionstatic get(resource_name, id, opts=None, authorizations=None, create_ui_definition=None, description=None, display_name=None, location=None, lock_level=None, main_template=None, name=None, package_enabled=None, package_file_uri=None, resource_group_name=None, tags=None, __props__=None);func GetDefinition(ctx *Context, name string, id IDInput, state *DefinitionState, opts ...ResourceOption) (*Definition, error)public static Definition Get(string name, Input<string> id, DefinitionState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
-
List<Definition
Authorization Args> One or more
authorizationblock defined below.- Create
Ui stringDefinition Specifies the
createUiDefinitionjson for the backing template withMicrosoft.Solutions/applicationsresource.- Description string
Specifies the managed application definition description.
- Display
Name string Specifies the managed application definition display name.
- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Lock
Level string Specifies the managed application lock level. Valid values include
CanNotDelete,None,ReadOnly. Changing this forces a new resource to be created.- Main
Template string Specifies the inline main template json which has resources to be provisioned.
- Name string
Specifies the name of the Managed Application Definition. Changing this forces a new resource to be created.
- Package
Enabled bool Is the package enabled? Defaults to
true.- Package
File stringUri Specifies the managed application definition package file Uri.
- Resource
Group stringName The name of the Resource Group where the Managed Application Definition should exist. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
-
[]Definition
Authorization One or more
authorizationblock defined below.- Create
Ui stringDefinition Specifies the
createUiDefinitionjson for the backing template withMicrosoft.Solutions/applicationsresource.- Description string
Specifies the managed application definition description.
- Display
Name string Specifies the managed application definition display name.
- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Lock
Level string Specifies the managed application lock level. Valid values include
CanNotDelete,None,ReadOnly. Changing this forces a new resource to be created.- Main
Template string Specifies the inline main template json which has resources to be provisioned.
- Name string
Specifies the name of the Managed Application Definition. Changing this forces a new resource to be created.
- Package
Enabled bool Is the package enabled? Defaults to
true.- Package
File stringUri Specifies the managed application definition package file Uri.
- Resource
Group stringName The name of the Resource Group where the Managed Application Definition should exist. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the resource.
-
Definition
Authorization[] One or more
authorizationblock defined below.- create
Ui stringDefinition Specifies the
createUiDefinitionjson for the backing template withMicrosoft.Solutions/applicationsresource.- description string
Specifies the managed application definition description.
- display
Name string Specifies the managed application definition display name.
- location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- lock
Level string Specifies the managed application lock level. Valid values include
CanNotDelete,None,ReadOnly. Changing this forces a new resource to be created.- main
Template string Specifies the inline main template json which has resources to be provisioned.
- name string
Specifies the name of the Managed Application Definition. Changing this forces a new resource to be created.
- package
Enabled boolean Is the package enabled? Defaults to
true.- package
File stringUri Specifies the managed application definition package file Uri.
- resource
Group stringName The name of the Resource Group where the Managed Application Definition should exist. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the resource.
-
List[Definition
Authorization] One or more
authorizationblock defined below.- create_
ui_ strdefinition Specifies the
createUiDefinitionjson for the backing template withMicrosoft.Solutions/applicationsresource.- description str
Specifies the managed application definition description.
- display_
name str Specifies the managed application definition display name.
- location str
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- lock_
level str Specifies the managed application lock level. Valid values include
CanNotDelete,None,ReadOnly. Changing this forces a new resource to be created.- main_
template str Specifies the inline main template json which has resources to be provisioned.
- name str
Specifies the name of the Managed Application Definition. Changing this forces a new resource to be created.
- package_
enabled bool Is the package enabled? Defaults to
true.- package_
file_ struri Specifies the managed application definition package file Uri.
- resource_
group_ strname The name of the Resource Group where the Managed Application Definition should exist. Changing this forces a new resource to be created.
- Dict[str, str]
A mapping of tags to assign to the resource.
Supporting Types
DefinitionAuthorization
- Role
Definition stringId Specifies a role definition identifier for the provider. This role will define all the permissions that the provider must have on the managed application’s container resource group. This role definition cannot have permission to delete the resource group.
- Service
Principal stringId Specifies a service principal identifier for the provider. This is the identity that the provider will use to call ARM to manage the managed application resources.
- Role
Definition stringId Specifies a role definition identifier for the provider. This role will define all the permissions that the provider must have on the managed application’s container resource group. This role definition cannot have permission to delete the resource group.
- Service
Principal stringId Specifies a service principal identifier for the provider. This is the identity that the provider will use to call ARM to manage the managed application resources.
- role
Definition stringId Specifies a role definition identifier for the provider. This role will define all the permissions that the provider must have on the managed application’s container resource group. This role definition cannot have permission to delete the resource group.
- service
Principal stringId Specifies a service principal identifier for the provider. This is the identity that the provider will use to call ARM to manage the managed application resources.
- role_
definition_ strid Specifies a role definition identifier for the provider. This role will define all the permissions that the provider must have on the managed application’s container resource group. This role definition cannot have permission to delete the resource group.
- service_
principal_ strid Specifies a service principal identifier for the provider. This is the identity that the provider will use to call ARM to manage the managed application resources.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.