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: App Job - Updated UDTs to pending specs (#4124)
## 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.job.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
@@ -1908,7 +1909,7 @@ The managed identity definition for this resource.
1908
1909
| Parameter | Type | Description |
1909
1910
| :-- | :-- | :-- |
1910
1911
|[`systemAssigned`](#parameter-managedidentitiessystemassigned)| bool | Enables system assigned managed identity on the resource. |
1911
-
|[`userAssignedResourceIds`](#parameter-managedidentitiesuserassignedresourceids)| array | The resource ID(s) to assign to the resource. |
1912
+
|[`userAssignedResourceIds`](#parameter-managedidentitiesuserassignedresourceids)| array | The resource ID(s) to assign to the resource. Required if a user assigned identity is used for encryption. |
1912
1913
1913
1914
### Parameter: `managedIdentities.systemAssigned`
1914
1915
@@ -1919,7 +1920,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.
1923
1924
1924
1925
- Required: No
1925
1926
- Type: array
@@ -2319,6 +2320,14 @@ The name of the workload profile to use. Leave empty to use a consumption based
2319
2320
|`resourceId`| string | The resource ID of the Container App Job. |
2320
2321
|`systemAssignedMIPrincipalId`| string | The principal ID of the system assigned identity. |
2321
2322
2323
+
## Cross-referenced modules
2324
+
2325
+
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. Enables system assigned managed identity on the resource.')
291
-
systemAssigned: bool?
292
-
293
-
@description('Optional. The resource ID(s) to assign to the resource.')
294
-
userAssignedResourceIds: string[]?
295
-
}
296
-
297
-
typelockType = {
298
-
@description('Optional. Specify the name of lock.')
299
-
name: string?
300
-
301
-
@description('Optional. Specify the type of lock.')
302
-
kind: ('CanNotDelete' | 'ReadOnly' | 'None')?
303
-
}
304
-
305
-
typeroleAssignmentType = {
306
-
@description('Optional. The name (as GUID) of the role assignment. If not provided, a GUID will be generated.')
307
-
name: string?
308
-
309
-
@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\'.')
310
-
roleDefinitionIdOrName: string
311
-
312
-
@description('Required. The principal ID of the principal (user/group/identity) to assign the role to.')
313
-
principalId: string
314
-
315
-
@description('Optional. The principal type of the assigned principal ID.')
@description('Optional. The description of the role assignment.')
319
-
description: string?
320
-
321
-
@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".')
322
-
condition: string?
323
-
324
-
@description('Optional. Version of the condition.')
325
-
conditionVersion: '2.0'?
326
-
327
-
@description('Optional. The Resource Id of the delegated managed identity resource.')
328
-
delegatedManagedIdentityResourceId: string?
329
-
}[]
330
-
292
+
@export()
293
+
@description('The type for a registry.')
331
294
typeregistryType = {
332
295
@description('Required. The FQDN name of the container registry.')
333
296
@metadata({ example: 'myregistry.azurecr.io' })
@@ -349,6 +312,8 @@ type registryType = {
349
312
passwordSecretRef: string?
350
313
}
351
314
315
+
@export()
316
+
@description('The type for a secret.')
352
317
typesecretType = {
353
318
@description('Optional. Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.')
@description('The type for a container environment variable.')
393
361
typecontainerEnvironmentVariablesType = {
394
362
@description('Required. The environment variable name.')
395
363
name: string
@@ -401,6 +369,7 @@ type containerEnvironmentVariablesType = {
401
369
value: string?
402
370
}
403
371
372
+
@description('The type for a container probe.')
404
373
typecontainerProbeType = {
405
374
@description('Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3.')
406
375
@minValue(1)
@@ -473,6 +442,7 @@ type containerProbeType = {
473
442
type: ('Liveness' | 'Readiness' | 'Startup')
474
443
}
475
444
445
+
@description('The type for a container resource.')
476
446
typecontainerResourceType = {
477
447
@description('Required. The CPU limit of the container in cores.')
478
448
@metadata({
@@ -494,6 +464,7 @@ type containerResourceType = {
494
464
memory: string
495
465
}
496
466
467
+
@description('The type for a container volume mount.')
497
468
typecontainerVolumeMountType = {
498
469
@description('Required. The path within the container at which the volume should be mounted. Must not contain \':\'.')
499
470
mountPath: string
@@ -505,6 +476,8 @@ type containerVolumeMountType = {
505
476
volumeName: string
506
477
}
507
478
479
+
@export()
480
+
@description('The type for a manually triggered job configuration.')
508
481
typemanualTriggerConfigType = {
509
482
@description('Optional. Number of parallel replicas of a job that can run at a given time. Defaults to 1.')
510
483
parallelism: int?
@@ -513,6 +486,8 @@ type manualTriggerConfigType = {
513
486
replicaCompletionCount: int?
514
487
}
515
488
489
+
@export()
490
+
@description('The type for a schedule based job configuration.')
516
491
typescheduleTriggerconfigType = {
517
492
@description('Required. Cron formatted repeating schedule ("* * * * *") of a Cron Job. It supports the standard [cron](https://en.wikipedia.org/wiki/Cron) expression syntax.')
518
493
@metadata({
@@ -530,6 +505,8 @@ type scheduleTriggerconfigType = {
530
505
replicaCompletionCount: int?
531
506
}
532
507
508
+
@export()
509
+
@description('The type for an event-driven job configuration.')
533
510
typeeventTriggerConfigType = {
534
511
@description('Optional. Number of parallel replicas of a job that can run at a given time. Defaults to 1.')
535
512
parallelism: int?
@@ -541,6 +518,7 @@ type eventTriggerConfigType = {
541
518
scale: jobScaleType
542
519
}
543
520
521
+
@description('The type for a job scale configuration.')
544
522
typejobScaleType = {
545
523
@description('Optional. Maximum number of job executions that are created for a trigger, default 100.')
0 commit comments