Skip to content

Commit

Permalink
fixed incorrect parameter description
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderojala committed Nov 26, 2024
1 parent e2a7339 commit 6e01675
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 37 deletions.
68 changes: 34 additions & 34 deletions avm/res/recovery-services/vault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2703,6 +2703,7 @@ param tags = {
| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`name`](#parameter-name) | string | Name of the Azure Recovery Service Vault. |
| [`restoreSettings`](#parameter-restoresettings) | object | The restore settings of the vault. |

**Optional parameters**

Expand All @@ -2725,7 +2726,6 @@ param tags = {
| [`replicationAlertSettings`](#parameter-replicationalertsettings) | object | Replication alert settings. |
| [`replicationFabrics`](#parameter-replicationfabrics) | array | List of all replication fabrics. |
| [`replicationPolicies`](#parameter-replicationpolicies) | array | List of all replication policies. |
| [`restoreSettings`](#parameter-restoresettings) | object | The restore settings of the vault. |
| [`roleAssignments`](#parameter-roleassignments) | array | Array of role assignments to create. |
| [`securitySettings`](#parameter-securitysettings) | object | Security Settings of the vault. |
| [`tags`](#parameter-tags) | object | Tags of the Recovery Service Vault resource. |
Expand All @@ -2737,6 +2737,39 @@ Name of the Azure Recovery Service Vault.
- Required: Yes
- Type: string

### Parameter: `restoreSettings`

The restore settings of the vault.

- Required: No
- Type: object

**Optional parameters**

| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`crossSubscriptionRestoreSettings`](#parameter-restoresettingscrosssubscriptionrestoresettings) | object | The restore settings of the vault. |

### Parameter: `restoreSettings.crossSubscriptionRestoreSettings`

The restore settings of the vault.

- Required: Yes
- Type: object

**Optional parameters**

| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`crossSubscriptionRestoreState`](#parameter-restoresettingscrosssubscriptionrestoresettingscrosssubscriptionrestorestate) | string | The restore settings of the vault. |

### Parameter: `restoreSettings.crossSubscriptionRestoreSettings.crossSubscriptionRestoreState`

The restore settings of the vault.

- Required: No
- Type: string

### Parameter: `backupConfig`

The backup configuration.
Expand Down Expand Up @@ -3538,39 +3571,6 @@ List of all replication policies.
- Type: array
- Default: `[]`

### Parameter: `restoreSettings`

The restore settings of the vault.

- Required: No
- Type: object

**Optional parameters**

| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`crossSubscriptionRestoreSettings`](#parameter-restoresettingscrosssubscriptionrestoresettings) | object | The restore settings of the vault. |

### Parameter: `restoreSettings.crossSubscriptionRestoreSettings`

The restore settings of the vault.

- Required: Yes
- Type: object

**Optional parameters**

| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`crossSubscriptionRestoreState`](#parameter-restoresettingscrosssubscriptionrestoresettingscrosssubscriptionrestorestate) | string | The restore settings of the vault. |

### Parameter: `restoreSettings.crossSubscriptionRestoreSettings.crossSubscriptionRestoreState`

The restore settings of the vault.

- Required: No
- Type: string

### Parameter: `roleAssignments`

Array of role assignments to create.
Expand Down
2 changes: 1 addition & 1 deletion avm/res/recovery-services/vault/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ param publicNetworkAccess string = 'Disabled'
@description('Optional. The redundancy settings of the vault.')
param redundancySettings redundancySettingsType?

@description('Optional. The restore settings of the vault.')
@description('Required. The restore settings of the vault.')
param restoreSettings restoreSettingsType?

import { customerManagedKeyWithAutoRotateType } from 'br/public:avm/utl/types/avm-common-types:0.4.0'
Expand Down
4 changes: 2 additions & 2 deletions avm/res/recovery-services/vault/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "5096948249327950906"
"templateHash": "1712426944669593956"
},
"name": "Recovery Services Vaults",
"description": "This module deploys a Recovery Services Vault.",
Expand Down Expand Up @@ -733,7 +733,7 @@
"$ref": "#/definitions/restoreSettingsType",
"nullable": true,
"metadata": {
"description": "Optional. The restore settings of the vault."
"description": "Required. The restore settings of the vault."
}
},
"customerManagedKey": {
Expand Down

0 comments on commit 6e01675

Please sign in to comment.