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
feat: Express Route add new parameter and update API version (#4570)
## Description
Updated API version to 2024-05-01
Added new parameter
Updated user defined types to avm-common-types
## Pipeline Reference
<!-- Insert your Pipeline Status Badge below -->
| Pipeline |
| -------- |
|
[](https://github.com/arnoldna/bicep-registry-modules/actions/workflows/avm.res.network.express-route-circuit.yml)
|
## Type of Change
<!-- Use the checkboxes [x] on the options that are relevant. -->
- [ ] Update to CI Environment or utilities (Non-module affecting
changes)
- [X] Azure Verified Module updates:
- [ ] Bugfix containing backwards-compatible bug fixes, and I have NOT
bumped the MAJOR or MINOR version in `version.json`:
- [ ] Someone has opened a bug report issue, and I have included "Closes
#{bug_report_issue_number}" in the PR description.
- [ ] The bug was found by the module author, and no one has opened an
issue to report it yet.
- [X] Feature update backwards compatible feature updates, and I have
bumped the MINOR version in `version.json`.
- [ ] Breaking changes and I have bumped the MAJOR version in
`version.json`.
- [X] Update to documentation
## Checklist
- [X] I'm sure there are no other open Pull Requests for the same
update/change
- [X] I have run `Set-AVMModule` locally to generate the supporting
module files.
- [X] My corresponding pipelines / checks run clean and green without
any errors or warnings
<!-- Please keep up to date with the contribution guide at
https://aka.ms/avm/contribute/bicep -->
|[`authorizationNames`](#parameter-authorizationnames)| array | List of names for ExpressRoute circuit authorizations to create. To fetch the `authorizationKey` for the authorization, use the `existing` resource reference for `Microsoft.Network/expressRouteCircuits/authorizations`. |
527
533
|[`bandwidthInGbps`](#parameter-bandwidthingbps)| int | The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. Available when configuring Express Route Direct. Default value of 0 will set the property to null. |
528
534
|[`diagnosticSettings`](#parameter-diagnosticsettings)| array | The diagnostic settings of the service. |
535
+
|[`enableDirectPortRateLimit`](#parameter-enabledirectportratelimit)| bool | Flag denoting rate-limiting status of the ExpressRoute direct-port circuit. |
529
536
|[`enableTelemetry`](#parameter-enabletelemetry)| bool | Enable/Disable usage telemetry for module. |
530
537
|[`expressRoutePortResourceId`](#parameter-expressrouteportresourceid)| string | The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource. Available when configuring Express Route Direct. |
531
538
|[`globalReachEnabled`](#parameter-globalreachenabled)| bool | Flag denoting global reach status. To enable ExpressRoute Global Reach between different geopolitical regions, your circuits must be Premium SKU. |
@@ -612,7 +619,7 @@ The diagnostic settings of the service.
612
619
|[`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. |
613
620
|[`marketplacePartnerResourceId`](#parameter-diagnosticsettingsmarketplacepartnerresourceid)| string | The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. |
614
621
|[`metricCategories`](#parameter-diagnosticsettingsmetriccategories)| array | The name of metrics that will be streamed. "allMetrics" includes all possible metrics for the resource. Set to `[]` to disable metric collection. |
615
-
|[`name`](#parameter-diagnosticsettingsname)| string | The name of diagnostic setting. |
622
+
|[`name`](#parameter-diagnosticsettingsname)| string | The name of the diagnostic setting. |
616
623
|[`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. |
617
624
|[`workspaceResourceId`](#parameter-diagnosticsettingsworkspaceresourceid)| string | 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. |
618
625
@@ -722,7 +729,7 @@ Enable or disable the category explicitly. Default is `true`.
722
729
723
730
### Parameter: `diagnosticSettings.name`
724
731
725
-
The name of diagnostic setting.
732
+
The name of the diagnostic setting.
726
733
727
734
- Required: No
728
735
- Type: string
@@ -741,6 +748,14 @@ Resource ID of the diagnostic log analytics workspace. For security reasons, it
741
748
- Required: No
742
749
- Type: string
743
750
751
+
### Parameter: `enableDirectPortRateLimit`
752
+
753
+
Flag denoting rate-limiting status of the ExpressRoute direct-port circuit.
754
+
755
+
- Required: No
756
+
- Type: bool
757
+
- Default: `False`
758
+
744
759
### Parameter: `enableTelemetry`
745
760
746
761
Enable/Disable usage telemetry for module.
@@ -1025,6 +1040,14 @@ Specifies the identifier that is used to identify the customer.
1025
1040
|`serviceKey`| string | The service key of the express route circuit. |
1026
1041
|`serviceProviderProvisioningState`| string | The service provider provisioning state of the express route circuit. |
1027
1042
1043
+
## Cross-referenced modules
1044
+
1045
+
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.
Copy file name to clipboardExpand all lines: avm/res/network/express-route-circuit/main.bicep
+11-86Lines changed: 11 additions & 86 deletions
Original file line number
Diff line number
Diff line change
@@ -69,17 +69,23 @@ param bandwidthInGbps int = 0
69
69
@description('Optional. The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource. Available when configuring Express Route Direct.')
70
70
paramexpressRoutePortResourceIdstring = ''
71
71
72
+
@description('Optional. Flag denoting rate-limiting status of the ExpressRoute direct-port circuit.')
73
+
paramenableDirectPortRateLimitbool = false
74
+
72
75
@description('Optional. Flag denoting global reach status. To enable ExpressRoute Global Reach between different geopolitical regions, your circuits must be Premium SKU.')
@description('Optional. Specify the name of lock.')
268
-
name: string?
269
-
270
-
@description('Optional. Specify the type of lock.')
271
-
kind: ('CanNotDelete' | 'ReadOnly' | 'None')?
272
-
}?
273
-
274
-
typeroleAssignmentType = {
275
-
@description('Optional. The name (as GUID) of the role assignment. If not provided, a GUID will be generated.')
276
-
name: string?
277
-
278
-
@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\'.')
279
-
roleDefinitionIdOrName: string
280
-
281
-
@description('Required. The principal ID of the principal (user/group/identity) to assign the role to.')
282
-
principalId: string
283
-
284
-
@description('Optional. The principal type of the assigned principal ID.')
@description('Optional. The description of the role assignment.')
288
-
description: string?
289
-
290
-
@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".')
291
-
condition: string?
292
-
293
-
@description('Optional. Version of the condition.')
294
-
conditionVersion: '2.0'?
295
-
296
-
@description('Optional. The Resource Id of the delegated managed identity resource.')
297
-
delegatedManagedIdentityResourceId: string?
298
-
}[]?
299
-
300
-
typediagnosticSettingType = {
301
-
@description('Optional. The name of diagnostic setting.')
302
-
name: string?
303
-
304
-
@description('Optional. The name of logs that will be streamed. "allLogs" includes all possible logs for the resource. Set to `[]` to disable log collection.')
305
-
logCategoriesAndGroups: {
306
-
@description('Optional. Name of a Diagnostic Log category for a resource type this setting is applied to. Set the specific logs to collect here.')
307
-
category: string?
308
-
309
-
@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.')
310
-
categoryGroup: string?
311
-
312
-
@description('Optional. Enable or disable the category explicitly. Default is `true`.')
313
-
enabled: bool?
314
-
}[]?
315
-
316
-
@description('Optional. The name of metrics that will be streamed. "allMetrics" includes all possible metrics for the resource. Set to `[]` to disable metric collection.')
317
-
metricCategories: {
318
-
@description('Required. Name of a Diagnostic Metric category for a resource type this setting is applied to. Set to `AllMetrics` to collect all metrics.')
319
-
category: string
320
-
321
-
@description('Optional. Enable or disable the category explicitly. Default is `true`.')
322
-
enabled: bool?
323
-
}[]?
324
-
325
-
@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.')
329
-
workspaceResourceId: string?
330
-
331
-
@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.')
332
-
storageAccountResourceId: string?
333
-
334
-
@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.')
335
-
eventHubAuthorizationRuleResourceId: string?
336
-
337
-
@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.')
338
-
eventHubName: string?
339
-
340
-
@description('Optional. The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.')
0 commit comments