You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added support for Blob Hardened recovery points (VaultStore). (Azure#21789)
Added Cross Subscription Restore for AzureDisk, AzureDatabaseForPostgreSQL and AzureBlob.
Added Get-AzDataProtectionOperationStatus command for long running cmdlets Async.
Copy file name to clipboardExpand all lines: src/DataProtection/README.md
+11-9Lines changed: 11 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ This directory contains the PowerShell module for the DataProtection service.
17
17
This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension.
18
18
19
19
## Module Requirements
20
-
-[Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.7.5 or greater
20
+
-[Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.2.3 or greater
21
21
22
22
## Authentication
23
23
AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent.
$errormsg="Please input parameter BackupConfiguration for AKS cluster backup. Use command New-AzDataProtectionBackupConfigurationClientObject for creating the BackupConfiguration"
$errormsg="Please input parameter BackupConfiguration for given DatasourceType. Use command New-AzDataProtectionBackupConfigurationClientObject for creating the BackupConfiguration."
$errormsg="ExcludedResourceType, IncludedResourceType, ExcludedNamespace, IncludedNamespace, LabelSelector, SnapshotVolume, IncludeClusterScopeResource parameters are not applicable for given DatasourceType. Please ensure to remove them"
[Parameter(Mandatory=$false,HelpMessage='List of resource types to be excluded from backup')]
@@ -36,33 +36,87 @@ function New-AzDataProtectionBackupConfigurationClientObject{
36
36
37
37
[Parameter(Mandatory=$false,HelpMessage='Boolean parameter to decide whether cluster scope resources are included for backup. By default this is taken as true.')]
38
38
[Nullable[System.Boolean]]
39
-
${IncludeClusterScopeResource}
39
+
${IncludeClusterScopeResource},
40
+
41
+
[Parameter(Mandatory=$false,HelpMessage='List of containers to be backed up inside the VaultStore. Use this parameter for DatasourceType AzureBlob.')]
42
+
[System.String[]]
43
+
${VaultedBackupContainer},
44
+
45
+
[Parameter(Mandatory=$false,HelpMessage='Switch parameter to include all containers to be backed up inside the VaultStore. Use this parameter for DatasourceType AzureBlob.')]
46
+
[Switch]
47
+
${IncludeAllContainer},
48
+
49
+
[Parameter(Mandatory=$false,HelpMessage='Storage account where the Datasource is present. Use this parameter for DatasourceType AzureBlob.')]
50
+
[System.String]
51
+
${StorageAccountName},
52
+
53
+
[Parameter(Mandatory=$false,HelpMessage='Storage account resource group name where the Datasource is present. Use this parameter for DatasourceType AzureBlob.')]
54
+
[System.String]
55
+
${StorageAccountResourceGroupName}
40
56
)
41
57
42
58
process {
43
-
# need to have parameter validation when this command supports another DatasourceType
59
+
# need to have parameter validation when this command supports another DatasourceType
0 commit comments