Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new module avm/res/automation/automation-account #720

Merged
merged 40 commits into from
Dec 11, 2023
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
4ada4c3
Create avm.res.authorization.policyassignment.yml
elanzel Oct 21, 2023
d884ec4
Merge branch 'Azure:main' into main
elanzel Nov 6, 2023
a85f731
draft avm useridentity
elanzel Nov 6, 2023
690cfe3
workflow
elanzel Nov 6, 2023
f253c0a
readme
elanzel Nov 6, 2023
e2bbb12
telemtry removed
elanzel Nov 6, 2023
fd17c75
added space
elanzel Nov 6, 2023
abb3964
location
elanzel Nov 6, 2023
f69d923
#_namePrefix_#
elanzel Nov 7, 2023
ee59a1e
Merge branch 'Azure:main' into main
elanzel Nov 21, 2023
b3efda5
Merge branch 'Azure:main' into main
elanzel Nov 22, 2023
0adb3e3
removed uaid
elanzel Nov 22, 2023
56de011
Delete .github/workflows/avm.res.authorization.policyassignment.yml
elanzel Nov 22, 2023
d9a04fa
Merge branch 'Azure:main' into main
elanzel Nov 23, 2023
b363d3c
Merge branch 'Azure:main' into main
elanzel Dec 1, 2023
552285b
draft
elanzel Dec 1, 2023
499a5f6
workflow file
elanzel Dec 1, 2023
d2c2a42
Merge pull request #1 from elanzel/4311-automationaccount
elanzel Dec 1, 2023
571feba
log for waf
elanzel Dec 1, 2023
2be97e4
specific categories audit
elanzel Dec 1, 2023
781bc37
Merge branch 'main' of https://github.com/elanzel/bicep-registry-modu…
elanzel Dec 4, 2023
0111800
Re-sync
elanzel Dec 4, 2023
ec84fe3
categorygroup
elanzel Dec 5, 2023
c665ada
allmetrics
elanzel Dec 5, 2023
98c8734
psrule version
elanzel Dec 5, 2023
73a2ab2
1.31.3
elanzel Dec 5, 2023
32097fd
beta test
elanzel Dec 5, 2023
35cb90f
sastoken validity
elanzel Dec 5, 2023
3023fe4
encryption and secrets
elanzel Dec 5, 2023
150de70
SecureParameter
elanzel Dec 5, 2023
2b2358c
managed identity
elanzel Dec 5, 2023
ebb34cb
readme
elanzel Dec 5, 2023
e2d61d6
Merge branch 'Azure:main' into 4311-automationaccount
elanzel Dec 6, 2023
7bffb38
Merge branch 'Azure:main' into 4311-automationaccount
elanzel Dec 11, 2023
72d31d4
codeowners update
elanzel Dec 11, 2023
028f66f
psrule test
elanzel Dec 11, 2023
ad5118c
no managed identity
elanzel Dec 11, 2023
fc9796e
No KV test
elanzel Dec 11, 2023
346e3e9
removed unused KV
elanzel Dec 11, 2023
c8f9d32
Merge branch 'Azure:main' into 4311-automationaccount
elanzel Dec 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
categorygroup
elanzel committed Dec 5, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit ec84fe3e0537f81bcff8a565f308c1477777ad04
492 changes: 291 additions & 201 deletions avm/res/automation/automation-account/README.md

Large diffs are not rendered by default.

36 changes: 21 additions & 15 deletions avm/res/automation/automation-account/job-schedule/README.md
Original file line number Diff line number Diff line change
@@ -43,44 +43,50 @@ This module deploys an Azure Automation Account Job Schedule.
| :-- | :-- | :-- |
| [`name`](#parameter-name) | string | Name of the Automation Account job schedule. Must be a GUID and is autogenerated. No need to provide this value. |

### Parameter: `automationAccountName`
### Parameter: `runbookName`

The runbook property associated with the entity.

The name of the parent Automation Account. Required if the template is used in a standalone deployment.
- Required: Yes
- Type: string

### Parameter: `name`
### Parameter: `scheduleName`

Name of the Automation Account job schedule. Must be a GUID and is autogenerated. No need to provide this value.
- Required: No
The schedule property associated with the entity.

- Required: Yes
- Type: string

### Parameter: `automationAccountName`

The name of the parent Automation Account. Required if the template is used in a standalone deployment.

- Required: Yes
- Type: string
- Default: `[newGuid()]`

### Parameter: `parameters`

List of job properties.

- Required: No
- Type: object
- Default: `{}`

### Parameter: `runbookName`

The runbook property associated with the entity.
- Required: Yes
- Type: string

### Parameter: `runOn`

The hybrid worker group that the scheduled job should run on.

- Required: No
- Type: string
- Default: `''`

### Parameter: `scheduleName`
### Parameter: `name`

The schedule property associated with the entity.
- Required: Yes
Name of the Automation Account job schedule. Must be a GUID and is autogenerated. No need to provide this value.

- Required: No
- Type: string
- Default: `[newGuid()]`


## Outputs
30 changes: 18 additions & 12 deletions avm/res/automation/automation-account/module/README.md
Original file line number Diff line number Diff line change
@@ -38,40 +38,46 @@ This module deploys an Azure Automation Account Module.
| [`tags`](#parameter-tags) | object | Tags of the Automation Account resource. |
| [`version`](#parameter-version) | string | Module version or specify latest to get the latest version. |

### Parameter: `name`

Name of the Automation Account module.

- Required: Yes
- Type: string

### Parameter: `uri`

Module package URI, e.g. https://www.powershellgallery.com/api/v2/package.

- Required: Yes
- Type: string

### Parameter: `automationAccountName`

The name of the parent Automation Account. Required if the template is used in a standalone deployment.

- Required: Yes
- Type: string

### Parameter: `location`

Location for all resources.

- Required: No
- Type: string
- Default: `[resourceGroup().location]`

### Parameter: `name`

Name of the Automation Account module.
- Required: Yes
- Type: string

### Parameter: `tags`

Tags of the Automation Account resource.

- Required: No
- Type: object

### Parameter: `uri`

Module package URI, e.g. https://www.powershellgallery.com/api/v2/package.
- Required: Yes
- Type: string

### Parameter: `version`

Module version or specify latest to get the latest version.

- Required: No
- Type: string
- Default: `'latest'`
67 changes: 39 additions & 28 deletions avm/res/automation/automation-account/runbook/README.md
Original file line number Diff line number Diff line change
@@ -48,88 +48,99 @@ This module deploys an Azure Automation Account Runbook.
| :-- | :-- | :-- |
| [`baseTime`](#parameter-basetime) | string | Time used as a basis for e.g. the schedule start date. |

### Parameter: `automationAccountName`
### Parameter: `name`

Name of the Automation Account runbook.

The name of the parent Automation Account. Required if the template is used in a standalone deployment.
- Required: Yes
- Type: string

### Parameter: `baseTime`
### Parameter: `type`

Time used as a basis for e.g. the schedule start date.
- Required: No
The type of the runbook.

- Required: Yes
- Type: string
- Allowed:
```Bicep
[
'Graph'
'GraphPowerShell'
'GraphPowerShellWorkflow'
'PowerShell'
'PowerShellWorkflow'
]
```

### Parameter: `automationAccountName`

The name of the parent Automation Account. Required if the template is used in a standalone deployment.

- Required: Yes
- Type: string
- Default: `[utcNow('u')]`

### Parameter: `description`

The description of the runbook.

- Required: No
- Type: string
- Default: `''`

### Parameter: `location`

Location for all resources.

- Required: No
- Type: string
- Default: `[resourceGroup().location]`

### Parameter: `name`

Name of the Automation Account runbook.
- Required: Yes
- Type: string

### Parameter: `sasTokenValidityLength`

SAS token validity length. Usage: 'PT8H' - valid for 8 hours; 'P5D' - valid for 5 days; 'P1Y' - valid for 1 year. When not provided, the SAS token will be valid for 8 hours.

- Required: No
- Type: string
- Default: `'PT8H'`

### Parameter: `scriptStorageAccountResourceId`

Resource Id of the runbook storage account.

- Required: No
- Type: string

### Parameter: `tags`

Tags of the Automation Account resource.

- Required: No
- Type: object

### Parameter: `type`

The type of the runbook.
- Required: Yes
- Type: string
- Allowed:
```Bicep
[
'Graph'
'GraphPowerShell'
'GraphPowerShellWorkflow'
'PowerShell'
'PowerShellWorkflow'
]
```

### Parameter: `uri`

The uri of the runbook content.

- Required: No
- Type: string
- Default: `''`

### Parameter: `version`

The version of the runbook content.

- Required: No
- Type: string
- Default: `''`

### Parameter: `baseTime`

Time used as a basis for e.g. the schedule start date.

- Required: No
- Type: string
- Default: `[utcNow('u')]`


## Outputs

40 changes: 25 additions & 15 deletions avm/res/automation/automation-account/schedule/README.md
Original file line number Diff line number Diff line change
@@ -47,43 +47,48 @@ This module deploys an Azure Automation Account Schedule.
| :-- | :-- | :-- |
| [`baseTime`](#parameter-basetime) | string | Time used as a basis for e.g. the schedule start date. |

### Parameter: `advancedSchedule`
### Parameter: `name`

The properties of the create Advanced Schedule.
- Required: No
- Type: object
- Default: `{}`
Name of the Automation Account schedule.

- Required: Yes
- Type: string

### Parameter: `automationAccountName`

The name of the parent Automation Account. Required if the template is used in a standalone deployment.

- Required: Yes
- Type: string

### Parameter: `baseTime`
### Parameter: `advancedSchedule`

The properties of the create Advanced Schedule.

Time used as a basis for e.g. the schedule start date.
- Required: No
- Type: string
- Default: `[utcNow('u')]`
- Type: object
- Default: `{}`

### Parameter: `description`

The description of the schedule.

- Required: No
- Type: string
- Default: `''`

### Parameter: `expiryTime`

The end time of the schedule.

- Required: No
- Type: string
- Default: `''`

### Parameter: `frequency`

The frequency of the schedule.

- Required: No
- Type: string
- Default: `'OneTime'`
@@ -102,30 +107,35 @@ The frequency of the schedule.
### Parameter: `interval`

Anything.

- Required: No
- Type: int
- Default: `0`

### Parameter: `name`

Name of the Automation Account schedule.
- Required: Yes
- Type: string

### Parameter: `startTime`

The start time of the schedule.

- Required: No
- Type: string
- Default: `''`

### Parameter: `timeZone`

The time zone of the schedule.

- Required: No
- Type: string
- Default: `''`

### Parameter: `baseTime`

Time used as a basis for e.g. the schedule start date.

- Required: No
- Type: string
- Default: `[utcNow('u')]`


## Outputs

Loading