Bicep Module Documentation
| Property | Value | Description |
|---|---|---|
| general (required) | general | |
| name (required) | string | Name of the management group |
| displayName | string | Displayname of the management group (default: name) |
| parentId | string | Name of the parent management group |
| managementGroupLevel (required) | int | Level of the management group [integer 1-6] |
| subscriptionIds | string[] | List of subscription ids that should be assigned to this management group [Array of ResourceIds] |
| subscriptions | subscription[] | List of subscriptions that should be added to this management group |
| Property | Value | Description |
|---|---|---|
| naming (required) | naming | Naming module of the resource |
| sharedNaming (required) | naming | Reference to the default naming |
| roleAssignments | roleAssignment[] | Role assignments on the resource |
| Property | Value | Description |
|---|---|---|
| name (required) | string | Name of the subscription |
| workload | 'DevTest' 'Production' |
Workload of the subscription (default: Production) |
| billingProfileId (required) | string | Billing profile to which the subscription should be billed |
| Property | Value | Description |
|---|---|---|
| forceFunctionAsFullName | bool | Use the function value as the full name of the resource |
| abbreviation | string | Override the abbreviation of this resource with this parameter |
| environment | string | The resource environment (for example: dev, tst, acc, prd) |
| location | string | The resource location (for example: weu, we, westeurope) |
| customer | string | The name of the customer |
| delimiter | string | The delimiter between resources (default: -) |
| nameFormat | Array containing any of: 'abbreviation' 'customer' 'environment' 'function' 'location' 'param1' 'param2' 'param3' 'useCaseName' |
The order of the array defines the order of elements in the naming scheme |
| param1 | string | Extra parameter self defined |
| param2 | string | Extra parameter self defined |
| param3 | string | Extra parameter self defined |
| function (required) | string | Function of the resource [can be app, db, security,...] |
| useCaseName | string | Name of the use case [can be hub, spoke,...] |
| suffix | string | Suffix for the resource, if empty non will be appended, otherwise will be added to the end [can be index, ...] |
| forceDefaultNaming | bool | Force the CAF naming instead of default company naming |
| Property | Value | Description |
|---|---|---|
| principalId (required) | string | The principal ID |
| roleDefinitionId (required) | string | The role definition ID, data file can be used for this |
| condition | string | Condition on the role assignment |
| conditionVersion | string | Version of the condition. Currently the only accepted value is "2.0" |
| delegatedManagedIdentityResourceId | string | Id of the delegated managed identity resource |
| description | string | Description of role assignment |