Skip to content

Commit 8fac10c

Browse files
committed
Update docs
1 parent 404a3bb commit 8fac10c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Find-AzDataProtectionRestorableTimeRange
99

1010
## SYNOPSIS
11-
11+
Finds the valid recovery point in time ranges for the restore.
1212

1313
## SYNTAX
1414

@@ -20,7 +20,7 @@ Find-AzDataProtectionRestorableTimeRange -BackupInstanceName <String> -ResourceG
2020
```
2121

2222
## DESCRIPTION
23-
23+
Finds the valid recovery point in time ranges for the restore.
2424

2525
## EXAMPLES
2626

src/DataProtection/help/Test-AzDataProtectionBackupInstanceRestore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $instances = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-
2929
$pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $instances[0].BackupInstanceName -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault" -SourceDataStoreType OperationalStore -StartTime (Get-Date).AddDays(-30).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") -EndTime (Get-Date).AddDays(0).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z")
3030
$vault = Get-AzDataProtectionBackupVault -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault"
3131
$RestoreRequestObject = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore OperationalStore -RestoreLocation $vault.Location -RestoreType OriginalLocation -BackupInstance $instances[0] -PointInTime (Get-Date -Date $pointInTimeRange.RestorableTimeRange.EndTime)
32-
$validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instances[0].Name -ResourceGroupName "testResourceGroup" -SubscriptionId ""xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"" -VaultName "testVault" -RestoreRequest $RestoreRequestObject
32+
$validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instances[0].Name -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault" -RestoreRequest $RestoreRequestObject
3333
```
3434

3535
The command tests the restore request object is valid for restore

tools/StaticAnalysis/Exceptions/Az.DataProtection/SignatureIssues.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@
3737
"Az.DataProtection","Update-AzDataProtectionBackupVault","Update-AzDataProtectionBackupVault","1","8100","Update-AzDataProtectionBackupVault Does not support ShouldProcess but the cmdlet verb Update indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"
3838
"Az.DataProtection","Update-AzDataProtectionBackupVault","Update-AzDataProtectionBackupVault","1","8410","Parameter ProxyUseDefaultCredentials of cmdlet Update-AzDataProtectionBackupVault does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
3939
"Az.DataProtection","Find-AzDataProtectionRestorableTimeRange","Find-AzDataProtectionRestorableTimeRange","1","8410","Parameter ProxyUseDefaultCredentials of cmdlet Find-AzDataProtectionRestorableTimeRange does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
40+
"Az.DataProtection","Test-AzDataProtectionBackupInstanceReadiness","Test-AzDataProtectionBackupInstanceReadiness","1","8400","Test-AzDataProtectionBackupInstanceReadiness uses the noun 'AzDataProtectionBackupInstanceReadiness', which does not follow the enforced naming convention of using a singular noun for a cmdlet name.","Consider using a singular noun for the cmdlet name."

0 commit comments

Comments
 (0)