You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -702,7 +690,7 @@ The diagnostic settings of the service.
702
690
| [`eventHubAuthorizationRuleResourceId`](#parameter-diagnosticsettingseventhubauthorizationruleresourceid) | string | Resource ID of the diagnostic event hub authorization rule for the Event Hubs namespace in which the event hub should be created or streamed to. |
703
691
| [`eventHubName`](#parameter-diagnosticsettingseventhubname) | string | Name of the diagnostic event hub within the namespace to which logs are streamed. Without this, an event hub is created for each log category. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub. |
704
692
| [`logAnalyticsDestinationType`](#parameter-diagnosticsettingsloganalyticsdestinationtype) | string | A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type. |
705
-
| [`logCategoriesAndGroups`](#parameter-diagnosticsettingslogcategoriesandgroups) | array | The name of logs that will be streamed. "allLogs" includes all possible logs for the resource. Set to '' to disable log collection. |
693
+
| [`logCategoriesAndGroups`](#parameter-diagnosticsettingslogcategoriesandgroups) | array | The name of logs that will be streamed. "allLogs" includes all possible logs for the resource. Set to `[]` to disable log collection. |
706
694
| [`marketplacePartnerResourceId`](#parameter-diagnosticsettingsmarketplacepartnerresourceid) | string | The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. |
707
695
| [`name`](#parameter-diagnosticsettingsname) | string | The name of diagnostic setting. |
708
696
| [`storageAccountResourceId`](#parameter-diagnosticsettingsstorageaccountresourceid) | string | Resource ID of the diagnostic storage account. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub. |
@@ -738,7 +726,7 @@ A string indicating whether the export to Log Analytics should use the default d
The name of logs that will be streamed. "allLogs" includes all possible logs for the resource. Set to '' to disable log collection.
729
+
The name of logs that will be streamed. "allLogs" includes all possible logs for the resource. Set to `[]` to disable log collection.
742
730
743
731
- Required: No
744
732
- Type: array
@@ -748,7 +736,8 @@ The name of logs that will be streamed. "allLogs" includes all possible logs for
748
736
| Parameter | Type | Description |
749
737
| :-- | :-- | :-- |
750
738
| [`category`](#parameter-diagnosticsettingslogcategoriesandgroupscategory) | string | Name of a Diagnostic Log category for a resource type this setting is applied to. Set the specific logs to collect here. |
751
-
| [`categoryGroup`](#parameter-diagnosticsettingslogcategoriesandgroupscategorygroup) | string | Name of a Diagnostic Log category group for a resource type this setting is applied to. Set to 'AllLogs' to collect all logs. |
739
+
| [`categoryGroup`](#parameter-diagnosticsettingslogcategoriesandgroupscategorygroup) | string | Name of a Diagnostic Log category group for a resource type this setting is applied to. Set to `allLogs` to collect all logs. |
740
+
| [`enabled`](#parameter-diagnosticsettingslogcategoriesandgroupsenabled) | bool | Enable or disable the category explicitly. Default is `true`. |
The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.
@@ -903,7 +899,7 @@ The managed identity definition for this resource.
903
899
| Parameter | Type | Description |
904
900
| :-- | :-- | :-- |
905
901
| [`systemAssigned`](#parameter-managedidentitiessystemassigned) | bool | Enables system assigned managed identity on the resource. |
906
-
| [`userAssignedResourceIds`](#parameter-managedidentitiesuserassignedresourceids) | array | The resource ID(s) to assign to the resource. |
902
+
| [`userAssignedResourceIds`](#parameter-managedidentitiesuserassignedresourceids) | array | The resource ID(s) to assign to the resource. Required if a user assigned identity is used for encryption. |
907
903
908
904
### Parameter: `managedIdentities.systemAssigned`
909
905
@@ -914,7 +910,7 @@ Enables system assigned managed identity on the resource.
The resource ID(s) to assign to the resource. Required if a user assigned identity is used for encryption.
918
914
919
915
- Required: No
920
916
- Type: array
@@ -1071,6 +1067,14 @@ Switch to make the App Service Environment zone redundant. If enabled, the minim
1071
1067
| `resourceId` | string | The resource ID of the App Service Environment. |
1072
1068
| `systemAssignedMIPrincipalId` | string | The principal ID of the system assigned identity. |
1073
1069
1070
+
## Cross-referenced modules
1071
+
1072
+
This section gives you an overview of all local-referenced module files (i.e., other modules that are referenced in this module) and all remote-referenced files (i.e., Bicep modules that are referenced from a Bicep Registry or Template Specs).
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the [repository](https://aka.ms/avm/telemetry). There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at <https://go.microsoft.com/fwlink/?LinkID=824704>. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
import { lockType } from 'br/public:avm/utl/types/avm-common-types:0.4.1'
17
18
@description('Optional. The lock settings of the service.')
18
-
param lock lockType
19
+
param lock lockType?
19
20
21
+
import { roleAssignmentType } from 'br/public:avm/utl/types/avm-common-types:0.4.1'
20
22
@description('Optional. Array of role assignments to create.')
21
-
param roleAssignments roleAssignmentType
22
-
23
-
//
24
-
// Add your parameters here
25
-
//
23
+
param roleAssignments roleAssignmentType[]?
26
24
27
25
@allowed([
28
26
'ASEv3'
@@ -83,11 +81,13 @@ param subnetResourceId string
83
81
@description('Optional. Switch to make the App Service Environment zone redundant. If enabled, the minimum App Service plan instance count will be three, otherwise 1. If enabled, the `dedicatedHostCount` must be set to `-1`.')
84
82
param zoneRedundant bool = true
85
83
84
+
import { managedIdentityAllType } from 'br/public:avm/utl/types/avm-common-types:0.4.1'
86
85
@description('Optional. The managed identity definition for this resource.')
87
-
param managedIdentities managedIdentitiesType
86
+
param managedIdentities managedIdentityAllType?
88
87
88
+
import { diagnosticSettingLogsOnlyType } from 'br/public:avm/utl/types/avm-common-types:0.4.1'
89
89
@description('Optional. The diagnostic settings of the service.')
@description('Optional. Enables system assigned managed identity on the resource.')
264
-
systemAssigned: bool?
265
-
266
-
@description('Optional. The resource ID(s) to assign to the resource.')
267
-
userAssignedResourceIds: string[]?
268
-
}?
269
-
270
-
type lockType = {
271
-
@description('Optional. Specify the name of lock.')
272
-
name: string?
273
-
274
-
@description('Optional. Specify the type of lock.')
275
-
kind: ('CanNotDelete' | 'ReadOnly' | 'None')?
276
-
}?
277
-
278
-
type roleAssignmentType = {
279
-
@description('Optional. The name (as GUID) of the role assignment. If not provided, a GUID will be generated.')
280
-
name: string?
281
-
282
-
@description('Required. The role to assign. You can provide either the display name of the role definition, the role definition GUID, or its fully qualified ID in the following format: \'/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11\'.')
283
-
roleDefinitionIdOrName: string
284
-
285
-
@description('Required. The principal ID of the principal (user/group/identity) to assign the role to.')
286
-
principalId: string
287
-
288
-
@description('Optional. The principal type of the assigned principal ID.')
@description('Optional. The description of the role assignment.')
292
-
description: string?
293
-
294
-
@description('Optional. The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase "foo_storage_container".')
295
-
condition: string?
296
-
297
-
@description('Optional. Version of the condition.')
298
-
conditionVersion: '2.0'?
299
-
300
-
@description('Optional. The Resource Id of the delegated managed identity resource.')
301
-
delegatedManagedIdentityResourceId: string?
302
-
}[]?
303
-
304
-
type diagnosticSettingType = {
305
-
@description('Optional. The name of diagnostic setting.')
306
-
name: string?
307
-
308
-
@description('Optional. The name of logs that will be streamed. "allLogs" includes all possible logs for the resource. Set to \'\' to disable log collection.')
309
-
logCategoriesAndGroups: {
310
-
@description('Optional. Name of a Diagnostic Log category for a resource type this setting is applied to. Set the specific logs to collect here.')
311
-
category: string?
312
-
313
-
@description('Optional. Name of a Diagnostic Log category group for a resource type this setting is applied to. Set to \'AllLogs\' to collect all logs.')
314
-
categoryGroup: string?
315
-
}[]?
316
-
317
-
@description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.')
@description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.')
321
-
workspaceResourceId: string?
322
-
323
-
@description('Optional. Resource ID of the diagnostic storage account. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.')
324
-
storageAccountResourceId: string?
325
-
326
-
@description('Optional. Resource ID of the diagnostic event hub authorization rule for the Event Hubs namespace in which the event hub should be created or streamed to.')
327
-
eventHubAuthorizationRuleResourceId: string?
328
-
329
-
@description('Optional. Name of the diagnostic event hub within the namespace to which logs are streamed. Without this, an event hub is created for each log category. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.')
330
-
eventHubName: string?
331
-
332
-
@description('Optional. The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.')
0 commit comments