-
Notifications
You must be signed in to change notification settings - Fork 457
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
[Modules] Changed to updated API and also added new feature properties #1490
Changes from 4 commits
2e61e25
4f01e40
7f2c8e8
f68ac41
97862e0
45b7010
5ffe108
7a8279d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -196,6 +196,8 @@ module rsv_backupStorageConfiguration 'backupStorageConfig/deploy.bicep' = if (! | |||
storageModelType: backupStorageConfig.storageModelType | ||||
crossRegionRestoreFlag: backupStorageConfig.crossRegionRestoreFlag | ||||
enableDefaultTelemetry: enableChildTelemetry | ||||
dedupState: backupStorageConfig.dedupState | ||||
xcoolState: backupStorageConfig.xcoolState | ||||
} | ||||
} | ||||
|
||||
|
@@ -233,6 +235,7 @@ module rsv_backupConfig 'backupConfig/deploy.bicep' = if (!empty(backupConfig)) | |||
storageModelType: contains(backupConfig, 'storageModelType') ? backupConfig.storageModelType : 'GeoRedundant' | ||||
storageType: contains(backupConfig, 'storageType') ? backupConfig.storageType : 'GeoRedundant' | ||||
storageTypeState: contains(backupConfig, 'storageTypeState') ? backupConfig.storageTypeState : 'Locked' | ||||
isSoftDeleteFeatureStateEditable: contains(backupConfig, 'isSoftDeleteFeatureStateEditable') ? backupConfig.isSoftDeleteFeatureStateEditable : true | ||||
enableDefaultTelemetry: enableChildTelemetry | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please remove this line as it has been correctly replaced below
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||||
} | ||||
} | ||||
|
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
@@ -1,18 +1,19 @@ | ||||||||
# RecoveryServicesProtectionContainer `[Microsoft.RecoveryServices/vaults/protectionContainers]` | ||||||||
# RecoveryServices Vaults ProtectionContainers `[Microsoft.RecoveryServices/vaults/protectionContainers]` | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you kindly double check? I still see the old code There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure, I can see the correct code in my branch There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See other comment |
||||||||
|
||||||||
This module deploys a Protection Container for a Recovery Services Vault | ||||||||
This module deploys RecoveryServices Vaults ProtectionContainers. | ||||||||
// TODO: Replace Resource and fill in description | ||||||||
Comment on lines
+3
to
+4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||||||||
|
||||||||
## Navigation | ||||||||
|
||||||||
- [Resource types](#Resource-types) | ||||||||
- [Resource Types](#Resource-Types) | ||||||||
- [Parameters](#Parameters) | ||||||||
- [Outputs](#Outputs) | ||||||||
|
||||||||
## Resource types | ||||||||
## Resource Types | ||||||||
|
||||||||
| Resource Type | API Version | | ||||||||
| :-- | :-- | | ||||||||
| `Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.RecoveryServices/2021-08-01/vaults/backupFabrics/protectionContainers) | | ||||||||
| `Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers` | [2022-02-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.RecoveryServices/2022-02-01/vaults/backupFabrics/protectionContainers) | | ||||||||
|
||||||||
## Parameters | ||||||||
|
||||||||
|
@@ -36,6 +37,10 @@ This module deploys a Protection Container for a Recovery Services Vault | |||||||
| `sourceResourceId` | string | `''` | | Resource ID of the target resource for the Protection Container. | | ||||||||
|
||||||||
|
||||||||
### Parameter Usage: `<ParameterPlaceholder>` | ||||||||
|
||||||||
// TODO: Fill in Parameter usage | ||||||||
|
||||||||
Comment on lines
+40
to
+43
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please either add parameter usage if needed or remove this placeholder There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you kindly double check? I still see the old code There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure, I can see the correct code in my branch There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can. Just update you main to latest & merge it into you branch: git checkout main
git pull
git checkout 'users/prsaha/apifixrsv#1388'
git merge main |
||||||||
## Outputs | ||||||||
|
||||||||
| Output Name | Type | Description | | ||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace any occurrence of
enableChildTelemetry
withenableReferencedModulesTelemetry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done