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
Migrate DataProtection from generation to main (#21794)
* Move DataProtection to main
* Copy BreakingChangeIssues.csv of DataProtection to main
* Updated change log (#21803)
---------
Co-authored-by: Lei Jin <[email protected]>
Co-authored-by: Himanshu Agarwal <[email protected]>
$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