-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: NetApp - Restructured as per ResourceType structure to & to ena…
…ble additional capabilities (#4043) ## Description - Restructured the deployment of backup to enable shared policies & future child-module publishing - Updated removal logic to handle backups - Introduced numerous UDTs - Aligned with several AVM specs (e.g., regarding naming) Depends on #4204 ## Pipeline Reference <!-- Insert your Pipeline Status Badge below --> | Pipeline | | -------- | | [](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.net-app.net-app-account.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
- Loading branch information
1 parent
3f62007
commit 8ad13c9
Showing
24 changed files
with
8,989 additions
and
4,184 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
# Azure NetApp Files Volume Backup Vault `[Microsoft.NetApp/netAppAccounts/backupVaults]` | ||
|
||
This module deploys a NetApp Files Backup Vault. | ||
|
||
## Navigation | ||
|
||
- [Resource Types](#Resource-Types) | ||
- [Parameters](#Parameters) | ||
- [Outputs](#Outputs) | ||
|
||
## Resource Types | ||
|
||
| Resource Type | API Version | | ||
| :-- | :-- | | ||
| `Microsoft.NetApp/netAppAccounts/backupVaults` | [2024-03-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.NetApp/2024-03-01/netAppAccounts/backupVaults) | | ||
| `Microsoft.NetApp/netAppAccounts/backupVaults/backups` | [2024-03-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.NetApp/2024-03-01/netAppAccounts/backupVaults/backups) | | ||
|
||
## Parameters | ||
|
||
**Conditional parameters** | ||
|
||
| Parameter | Type | Description | | ||
| :-- | :-- | :-- | | ||
| [`netAppAccountName`](#parameter-netappaccountname) | string | The name of the parent NetApp account. Required if the template is used in a standalone deployment. | | ||
|
||
**Optional parameters** | ||
|
||
| Parameter | Type | Description | | ||
| :-- | :-- | :-- | | ||
| [`backups`](#parameter-backups) | array | The list of backups to create. | | ||
| [`location`](#parameter-location) | string | Location of the backup vault. | | ||
| [`name`](#parameter-name) | string | The name of the backup vault. | | ||
|
||
### Parameter: `netAppAccountName` | ||
|
||
The name of the parent NetApp account. Required if the template is used in a standalone deployment. | ||
|
||
- Required: Yes | ||
- Type: string | ||
|
||
### Parameter: `backups` | ||
|
||
The list of backups to create. | ||
|
||
- Required: No | ||
- Type: array | ||
|
||
**Required parameters** | ||
|
||
| Parameter | Type | Description | | ||
| :-- | :-- | :-- | | ||
| [`capacityPoolName`](#parameter-backupscapacitypoolname) | string | The name of the capacity pool containing the volume. | | ||
| [`volumeName`](#parameter-backupsvolumename) | string | The name of the volume to backup. | | ||
|
||
**Optional parameters** | ||
|
||
| Parameter | Type | Description | | ||
| :-- | :-- | :-- | | ||
| [`label`](#parameter-backupslabel) | string | Label for backup. | | ||
| [`name`](#parameter-backupsname) | string | The name of the backup. | | ||
| [`snapshotName`](#parameter-backupssnapshotname) | string | The name of the snapshot. | | ||
|
||
### Parameter: `backups.capacityPoolName` | ||
|
||
The name of the capacity pool containing the volume. | ||
|
||
- Required: Yes | ||
- Type: string | ||
|
||
### Parameter: `backups.volumeName` | ||
|
||
The name of the volume to backup. | ||
|
||
- Required: Yes | ||
- Type: string | ||
|
||
### Parameter: `backups.label` | ||
|
||
Label for backup. | ||
|
||
- Required: No | ||
- Type: string | ||
|
||
### Parameter: `backups.name` | ||
|
||
The name of the backup. | ||
|
||
- Required: No | ||
- Type: string | ||
|
||
### Parameter: `backups.snapshotName` | ||
|
||
The name of the snapshot. | ||
|
||
- Required: No | ||
- Type: string | ||
|
||
### Parameter: `location` | ||
|
||
Location of the backup vault. | ||
|
||
- Required: No | ||
- Type: string | ||
- Default: `[resourceGroup().location]` | ||
|
||
### Parameter: `name` | ||
|
||
The name of the backup vault. | ||
|
||
- Required: No | ||
- Type: string | ||
- Default: `'vault'` | ||
|
||
## Outputs | ||
|
||
| Output | Type | Description | | ||
| :-- | :-- | :-- | | ||
| `location` | string | The location the resource was deployed into. | | ||
| `name` | string | The name of the backup vault. | | ||
| `resourceGroupName` | string | The name of the Resource Group the backup vault was created in. | | ||
| `resourceId` | string | The Resource ID of the backup vault. | |
Oops, something went wrong.