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: Container App - Updated UDTs to pending specs (#4123)
## Description
Updated user-defined types with pending
Azure/Azure-Verified-Modules#1738 &
#4098.
## Pipeline Reference
<!-- Insert your Pipeline Status Badge below -->
| Pipeline |
| -------- |
|
[](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.app.container-app.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.
- [ ] 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`.
- [ ] Update to documentation
@@ -1086,7 +1087,7 @@ List of probes for the container.
1086
1087
|[`initialDelaySeconds`](#parameter-containersprobesinitialdelayseconds)| int | Number of seconds after the container has started before liveness probes are initiated. |
1087
1088
|[`periodSeconds`](#parameter-containersprobesperiodseconds)| int | How often (in seconds) to perform the probe. Default to 10 seconds. |
1088
1089
|[`successThreshold`](#parameter-containersprobessuccessthreshold)| int | Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. |
1089
-
|[`tcpSocket`](#parameter-containersprobestcpsocket)| object |TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported. |
1090
+
|[`tcpSocket`](#parameter-containersprobestcpsocket)| object |The TCP socket specifies an action involving a TCP port. TCP hooks not yet supported. |
1090
1091
|[`terminationGracePeriodSeconds`](#parameter-containersprobesterminationgraceperiodseconds)| int | Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour). |
1091
1092
|[`timeoutSeconds`](#parameter-containersprobestimeoutseconds)| int | Number of seconds after which the probe times out. Defaults to 1 second. |
1092
1093
|[`type`](#parameter-containersprobestype)| string | The type of probe. |
@@ -1230,7 +1231,7 @@ Minimum consecutive successes for the probe to be considered successful after ha
1230
1231
1231
1232
### Parameter: `containers.probes.tcpSocket`
1232
1233
1233
-
TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
1234
+
The TCP socket specifies an action involving a TCP port. TCP hooks not yet supported.
1234
1235
1235
1236
- Required: No
1236
1237
- Type: object
@@ -1650,7 +1651,7 @@ The managed identity definition for this resource.
1650
1651
| Parameter | Type | Description |
1651
1652
| :-- | :-- | :-- |
1652
1653
|[`systemAssigned`](#parameter-managedidentitiessystemassigned)| bool | Enables system assigned managed identity on the resource. |
1653
-
|[`userAssignedResourceIds`](#parameter-managedidentitiesuserassignedresourceids)| array | The resource ID(s) to assign to the resource. |
1654
+
|[`userAssignedResourceIds`](#parameter-managedidentitiesuserassignedresourceids)| array | The resource ID(s) to assign to the resource. Required if a user assigned identity is used for encryption. |
1654
1655
1655
1656
### Parameter: `managedIdentities.systemAssigned`
1656
1657
@@ -1661,7 +1662,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.
1665
1666
1666
1667
- Required: No
1667
1668
- Type: array
@@ -1943,6 +1944,14 @@ Workload profile name to pin for container app execution.
1943
1944
|`resourceId`| string | The resource ID of the Container App. |
1944
1945
|`systemAssignedMIPrincipalId`| string | The principal ID of the system assigned identity. |
1945
1946
1947
+
## Cross-referenced modules
1948
+
1949
+
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.
@description('Optional. Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections.')
54
54
paramingressAllowInsecurebool = true
@@ -66,7 +66,7 @@ param scaleMinReplicas int = 3
66
66
paramscaleRulesarray = []
67
67
68
68
@description('Optional. List of container app services bound to the app.')
@description('Optional. Enables system assigned managed identity on the resource.')
328
-
systemAssigned: bool?
329
-
330
-
@description('Optional. The resource ID(s) to assign to the resource.')
331
-
userAssignedResourceIds: string[]?
332
-
}?
333
-
334
-
typelockType = {
335
-
@description('Optional. Specify the name of lock.')
336
-
name: string?
337
-
338
-
@description('Optional. Specify the type of lock.')
339
-
kind: ('CanNotDelete' | 'ReadOnly' | 'None')?
340
-
}?
341
-
342
-
typeroleAssignmentType = {
343
-
@description('Optional. The name (as GUID) of the role assignment. If not provided, a GUID will be generated.')
344
-
name: string?
345
-
346
-
@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\'.')
347
-
roleDefinitionIdOrName: string
348
-
349
-
@description('Required. The principal ID of the principal (user/group/identity) to assign the role to.')
350
-
principalId: string
351
-
352
-
@description('Optional. The principal type of the assigned principal ID.')
@description('Optional. The description of the role assignment.')
356
-
description: string?
357
-
358
-
@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".')
359
-
condition: string?
360
-
361
-
@description('Optional. Version of the condition.')
362
-
conditionVersion: '2.0'?
363
-
364
-
@description('Optional. The Resource Id of the delegated managed identity resource.')
@description('The type for a container app probe.')
393
+
typecontainerAppProbeType = {
425
394
@description('Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3.')
426
395
@minValue(1)
427
396
@maxValue(10)
428
397
failureThreshold: int?
429
398
430
399
@description('Optional. HTTPGet specifies the http request to perform.')
431
-
httpGet: containerAppProbeHttpGet?
400
+
httpGet: containerAppProbeHttpGetType?
432
401
433
402
@description('Optional. Number of seconds after the container has started before liveness probes are initiated.')
434
403
@minValue(1)
@@ -445,8 +414,8 @@ type containerAppProbe = {
445
414
@maxValue(10)
446
415
successThreshold: int?
447
416
448
-
@description('Optional. TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.')
449
-
tcpSocket: containerAppProbeTcpSocket?
417
+
@description('Optional. The TCP socket specifies an action involving a TCP port. TCP hooks not yet supported.')
418
+
tcpSocket: containerAppProbeTcpSocketType?
450
419
451
420
@description('Optional. Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod\'s terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour).')
452
421
terminationGracePeriodSeconds: int?
@@ -460,6 +429,8 @@ type containerAppProbe = {
460
429
type: ('Liveness' | 'Startup' | 'Readiness')?
461
430
}
462
431
432
+
@export()
433
+
@description('The type for a CORS policy.')
463
434
typecorsPolicyType = {
464
435
@description('Optional. Switch to determine whether the resource allows credentials.')
465
436
allowCredentials: bool?
@@ -478,14 +449,15 @@ type corsPolicyType = {
478
449
479
450
@description('Optional. Specifies the content for the access-control-max-age header.')
480
451
maxAge: int?
481
-
}?
452
+
}
482
453
483
-
typecontainerAppProbeHttpGet = {
454
+
@description('The type for a container app probe HTTP GET.')
455
+
typecontainerAppProbeHttpGetType = {
484
456
@description('Optional. Host name to connect to. Defaults to the pod IP.')
485
457
host: string?
486
458
487
459
@description('Optional. HTTP headers to set in the request.')
0 commit comments