diff --git a/src/DataProtection/Az.DataProtection.format.ps1xml b/src/DataProtection/Az.DataProtection.format.ps1xml
index 90fd96659621..42097be48351 100644
--- a/src/DataProtection/Az.DataProtection.format.ps1xml
+++ b/src/DataProtection/Az.DataProtection.format.ps1xml
@@ -582,9 +582,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupInstanceResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupInstanceResource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupInstanceResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupInstanceResource
@@ -610,9 +610,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AbsoluteDeleteOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AbsoluteDeleteOption
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AbsoluteDeleteOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AbsoluteDeleteOption
@@ -638,9 +638,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AdHocBackupRuleOptions
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AdHocBackupRuleOptions
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AdHocBackupRuleOptions
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AdHocBackupRuleOptions
@@ -660,9 +660,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AdhocBackupTriggerOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AdhocBackupTriggerOption
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AdhocBackupTriggerOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AdhocBackupTriggerOption
@@ -682,9 +682,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AdhocBasedTriggerContext
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AdhocBasedTriggerContext
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AdhocBasedTriggerContext
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AdhocBasedTriggerContext
@@ -704,9 +704,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AuthCredentials
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AuthCredentials
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AuthCredentials
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AuthCredentials
@@ -726,15 +726,18 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupDiscreteRecoveryPoint
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupDiscreteRecoveryPoint
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupDiscreteRecoveryPoint
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupDiscreteRecoveryPoint
+
+
+
@@ -766,6 +769,9 @@
ObjectType
+
+ ExpiryTime
+
FriendlyName
@@ -796,9 +802,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupFindRestorableTimeRangesRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupFindRestorableTimeRangesRequest
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupFindRestorableTimeRangesRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupFindRestorableTimeRangesRequest
@@ -830,9 +836,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupFindRestorableTimeRangesRequestResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupFindRestorableTimeRangesRequestResource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupFindRestorableTimeRangesRequestResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupFindRestorableTimeRangesRequestResource
@@ -876,9 +882,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupFindRestorableTimeRangesResponse
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupFindRestorableTimeRangesResponse
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupFindRestorableTimeRangesResponse
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupFindRestorableTimeRangesResponse
@@ -898,9 +904,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupFindRestorableTimeRangesResponseResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupFindRestorableTimeRangesResponseResource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupFindRestorableTimeRangesResponseResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupFindRestorableTimeRangesResponseResource
@@ -920,9 +926,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupJob
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupJob
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupJob
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupJob
@@ -1104,9 +1110,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupJobResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupJobResource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupJobResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupJobResource
@@ -1126,9 +1132,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupJobResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupJobResourceList
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupJobResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupJobResourceList
@@ -1148,9 +1154,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupParams
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupParams
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupParams
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupParams
@@ -1176,9 +1182,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRecoveryPoint
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRecoveryPoint
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRecoveryPoint
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRecoveryPoint
@@ -1198,9 +1204,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRecoveryPointBasedRestoreRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRecoveryPointBasedRestoreRequest
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRecoveryPointBasedRestoreRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRecoveryPointBasedRestoreRequest
@@ -1238,9 +1244,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRecoveryPointResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRecoveryPointResource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRecoveryPointResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRecoveryPointResource
@@ -1260,9 +1266,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRecoveryPointResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRecoveryPointResourceList
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRecoveryPointResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRecoveryPointResourceList
@@ -1282,9 +1288,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRecoveryTimeBasedRestoreRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRecoveryTimeBasedRestoreRequest
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRecoveryTimeBasedRestoreRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRecoveryTimeBasedRestoreRequest
@@ -1322,9 +1328,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRehydrationRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRehydrationRequest
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRehydrationRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRehydrationRequest
@@ -1356,9 +1362,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRestoreRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRestoreRequest
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRestoreRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRestoreRequest
@@ -1390,9 +1396,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRestoreWithRehydrationRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRestoreWithRehydrationRequest
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRestoreWithRehydrationRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRestoreWithRehydrationRequest
@@ -1442,9 +1448,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRule
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRule
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRule
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRule
@@ -1470,9 +1476,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureMonitorAlertSettings
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureMonitorAlertSettings
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureMonitorAlertSettings
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureMonitorAlertSettings
@@ -1492,9 +1498,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureOperationalStoreParameters
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureOperationalStoreParameters
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureOperationalStoreParameters
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureOperationalStoreParameters
@@ -1526,9 +1532,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureRetentionRule
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureRetentionRule
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureRetentionRule
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureRetentionRule
@@ -1560,9 +1566,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupCriteria
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupCriteria
@@ -1582,9 +1588,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupInstance
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupInstance
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupInstance
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupInstance
@@ -1628,9 +1634,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupInstanceResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupInstanceResourceList
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupInstanceResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupInstanceResourceList
@@ -1650,9 +1656,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupParameters
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupParameters
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupParameters
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupParameters
@@ -1672,9 +1678,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupPolicy
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupPolicy
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupPolicy
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupPolicy
@@ -1700,9 +1706,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupSchedule
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupSchedule
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupSchedule
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupSchedule
@@ -1728,12 +1734,15 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupVault
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupVault
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupVault
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupVault
+
+
+
@@ -1744,6 +1753,9 @@
+
+ IsVaultProtectedByResourceGuard
+
ProvisioningState
@@ -1756,9 +1768,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupVaultResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupVaultResource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupVaultResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupVaultResource
@@ -1790,9 +1802,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupVaultResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupVaultResourceList
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupVaultResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupVaultResourceList
@@ -1812,9 +1824,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BaseBackupPolicy
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BaseBackupPolicy
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BaseBackupPolicy
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BaseBackupPolicy
@@ -1840,9 +1852,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BaseBackupPolicyResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BaseBackupPolicyResource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BaseBackupPolicyResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BaseBackupPolicyResource
@@ -1862,9 +1874,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BaseBackupPolicyResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BaseBackupPolicyResourceList
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BaseBackupPolicyResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BaseBackupPolicyResourceList
@@ -1884,9 +1896,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BasePolicyRule
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BasePolicyRule
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BasePolicyRule
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BasePolicyRule
@@ -1912,9 +1924,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.CheckNameAvailabilityRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.CheckNameAvailabilityRequest
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.CheckNameAvailabilityRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.CheckNameAvailabilityRequest
@@ -1934,9 +1946,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.CheckNameAvailabilityResult
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.CheckNameAvailabilityResult
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.CheckNameAvailabilityResult
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.CheckNameAvailabilityResult
@@ -1968,9 +1980,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ClientDiscoveryDisplay
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ClientDiscoveryDisplay
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ClientDiscoveryDisplay
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ClientDiscoveryDisplay
@@ -2008,9 +2020,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ClientDiscoveryForLogSpecification
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ClientDiscoveryForLogSpecification
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ClientDiscoveryForLogSpecification
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ClientDiscoveryForLogSpecification
@@ -2042,9 +2054,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ClientDiscoveryResponse
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ClientDiscoveryResponse
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ClientDiscoveryResponse
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ClientDiscoveryResponse
@@ -2064,9 +2076,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ClientDiscoveryValueForSingleApi
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ClientDiscoveryValueForSingleApi
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ClientDiscoveryValueForSingleApi
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ClientDiscoveryValueForSingleApi
@@ -2098,9 +2110,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.CopyOnExpiryOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.CopyOnExpiryOption
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.CopyOnExpiryOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.CopyOnExpiryOption
@@ -2120,9 +2132,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.CopyOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.CopyOption
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.CopyOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.CopyOption
@@ -2142,9 +2154,31 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.CustomCopyOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.CrossSubscriptionRestoreSettings
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.CustomCopyOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.CrossSubscriptionRestoreSettings
+
+
+
+
+
+
+
+
+
+
+
+ State
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.CustomCopyOption
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.CustomCopyOption
@@ -2170,9 +2204,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.Datasource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.Datasource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.Datasource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.Datasource
@@ -2222,9 +2256,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DatasourceSet
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DatasourceSet
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DatasourceSet
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DatasourceSet
@@ -2280,9 +2314,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DataStoreInfoBase
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DataStoreInfoBase
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DataStoreInfoBase
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DataStoreInfoBase
@@ -2308,9 +2342,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DataStoreParameters
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DataStoreParameters
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DataStoreParameters
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DataStoreParameters
@@ -2336,9 +2370,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.Day
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.Day
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.Day
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.Day
@@ -2364,37 +2398,55 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DeleteOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DeletedBackupInstance
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DeleteOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DeletedBackupInstance
-
+
+
+
+
+
+
+
+
+
+
- Duration
+ CurrentProtectionState
+
+
+ FriendlyName
ObjectType
+
+ ProvisioningState
+
+
+ ValidationType
+
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppBaseResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DeletedBackupInstanceResource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppBaseResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DeletedBackupInstanceResource
@@ -2414,9 +2466,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppBaseResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DeletedBackupInstanceResourceList
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppBaseResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DeletedBackupInstanceResourceList
@@ -2436,27 +2488,27 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppIdentityDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DeleteOption
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppIdentityDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DeleteOption
-
+
-
+
- PrincipalId
+ Duration
- TenantId
+ ObjectType
@@ -2464,9 +2516,49 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppProxyResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DeletionInfo
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppProxyResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DeletionInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BillingEndDate
+
+
+ DeleteActivityId
+
+
+ DeletionTime
+
+
+ ScheduledPurgeTime
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppBaseResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppBaseResource
@@ -2486,21 +2578,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppProxyResourceTags
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppBaseResourceList
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppProxyResourceTags
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppBaseResourceList
-
+
- Item
+ NextLink
@@ -2508,12 +2600,18 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppBaseTrackedResource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppBaseTrackedResource
+
+
+
+
+
+
@@ -2521,6 +2619,12 @@
+
+ ETag
+
+
+ Location
+
Name
@@ -2530,21 +2634,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppBaseTrackedResourceTags
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppBaseTrackedResourceTags
-
+
- NextLink
+ Item
@@ -2552,18 +2656,40 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppTrackedResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppIdentityDetails
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppTrackedResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppIdentityDetails
-
+
-
+
+
+
+
+
+
+ PrincipalId
+
+
+ TenantId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppProxyResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppProxyResource
+
+
+
@@ -2572,11 +2698,49 @@
- ETag
+ Name
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppProxyResourceTags
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppProxyResourceTags
+
+
+
+
+
+
+
+
+
+
- Location
+ Item
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppResource
+
+
+
+
+
+
+
+
+
+
Name
@@ -2586,9 +2750,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppTrackedResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppResourceList
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppTrackedResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppResourceList
@@ -2608,21 +2772,55 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppTrackedResourceTags
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppTrackedResource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppTrackedResourceTags
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppTrackedResource
-
+
+
+
+
+
+
+
- Item
+ ETag
+
+
+ Location
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppTrackedResourceList
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppTrackedResourceList
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
@@ -2630,9 +2828,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppWorkerRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppWorkerRequest
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppWorkerRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppWorkerRequest
@@ -2676,9 +2874,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppWorkerRequestHeaders
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppWorkerRequestHeaders
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppWorkerRequestHeaders
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppWorkerRequestHeaders
@@ -2698,9 +2896,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppWorkerRequestParameters
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppWorkerRequestParameters
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DppWorkerRequestParameters
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DppWorkerRequestParameters
@@ -2720,9 +2918,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.Error
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.Error
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.Error
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.Error
@@ -2754,9 +2952,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ExportJobsResult
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ExportJobsResult
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ExportJobsResult
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ExportJobsResult
@@ -2794,9 +2992,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.FeatureValidationRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.FeatureValidationRequest
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.FeatureValidationRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.FeatureValidationRequest
@@ -2828,9 +3026,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.FeatureValidationRequestBase
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.FeatureValidationRequestBase
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.FeatureValidationRequestBase
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.FeatureValidationRequestBase
@@ -2850,9 +3048,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.FeatureValidationResponse
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.FeatureValidationResponse
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.FeatureValidationResponse
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.FeatureValidationResponse
@@ -2878,9 +3076,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.FeatureValidationResponseBase
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.FeatureValidationResponseBase
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.FeatureValidationResponseBase
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.FeatureValidationResponseBase
@@ -2900,9 +3098,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ImmediateCopyOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ImmediateCopyOption
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ImmediateCopyOption
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ImmediateCopyOption
@@ -2922,9 +3120,31 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.InnerError
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ImmutabilitySettings
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.InnerError
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ImmutabilitySettings
+
+
+
+
+
+
+
+
+
+
+
+ State
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.InnerError
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.InnerError
@@ -2944,9 +3164,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.InnerErrorAdditionalInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.InnerErrorAdditionalInfo
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.InnerErrorAdditionalInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.InnerErrorAdditionalInfo
@@ -2966,9 +3186,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ItemLevelRestoreCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ItemLevelRestoreCriteria
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ItemLevelRestoreCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ItemLevelRestoreCriteria
@@ -2988,9 +3208,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ItemLevelRestoreTargetInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ItemLevelRestoreTargetInfo
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ItemLevelRestoreTargetInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ItemLevelRestoreTargetInfo
@@ -3022,9 +3242,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.JobExtendedInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.JobExtendedInfo
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.JobExtendedInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.JobExtendedInfo
@@ -3056,9 +3276,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.JobExtendedInfoAdditionalDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.JobExtendedInfoAdditionalDetails
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.JobExtendedInfoAdditionalDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.JobExtendedInfoAdditionalDetails
@@ -3078,9 +3298,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.JobSubTask
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.JobSubTask
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.JobSubTask
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.JobSubTask
@@ -3118,9 +3338,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.JobSubTaskAdditionalDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.JobSubTaskAdditionalDetails
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.JobSubTaskAdditionalDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.JobSubTaskAdditionalDetails
@@ -3140,9 +3360,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.KubernetesPvRestoreCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.KubernetesPvRestoreCriteria
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.KubernetesPvRestoreCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.KubernetesPvRestoreCriteria
@@ -3174,9 +3394,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.KubernetesStorageClassRestoreCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.KubernetesStorageClassRestoreCriteria
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.KubernetesStorageClassRestoreCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.KubernetesStorageClassRestoreCriteria
@@ -3208,9 +3428,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.OperationExtendedInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.OperationExtendedInfo
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.OperationExtendedInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.OperationExtendedInfo
@@ -3230,9 +3450,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.OperationJobExtendedInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.OperationJobExtendedInfo
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.OperationJobExtendedInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.OperationJobExtendedInfo
@@ -3258,9 +3478,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.OperationResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.OperationResource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.OperationResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.OperationResource
@@ -3298,9 +3518,31 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.PatchResourceRequestInputTags
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.PatchResourceGuardInputTags
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.PatchResourceGuardInputTags
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.PatchResourceRequestInputTags
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.PatchResourceRequestInputTags
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.PatchResourceRequestInputTags
@@ -3320,9 +3562,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.PolicyInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.PolicyInfo
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.PolicyInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.PolicyInfo
@@ -3348,9 +3590,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ProtectionStatusDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ProtectionStatusDetails
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ProtectionStatusDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ProtectionStatusDetails
@@ -3370,9 +3612,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RangeBasedItemLevelRestoreCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RangeBasedItemLevelRestoreCriteria
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RangeBasedItemLevelRestoreCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RangeBasedItemLevelRestoreCriteria
@@ -3404,9 +3646,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RecoveryPointDataStoreDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RecoveryPointDataStoreDetails
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RecoveryPointDataStoreDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RecoveryPointDataStoreDetails
@@ -3462,9 +3704,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RecoveryPointsFilters
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RecoveryPointsFilters
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RecoveryPointsFilters
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RecoveryPointsFilters
@@ -3514,9 +3756,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ResourceGuard
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ResourceGuard
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ResourceGuard
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ResourceGuard
@@ -3554,9 +3796,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ResourceGuardOperation
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ResourceGuardOperation
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ResourceGuardOperation
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ResourceGuardOperation
@@ -3582,24 +3824,15 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ResourceGuardResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ResourceGuardResource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ResourceGuardResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ResourceGuardResource
-
-
-
-
-
-
-
-
-
@@ -3613,15 +3846,6 @@
ETag
-
- IdentityPrincipalId
-
-
- IdentityTenantId
-
-
- IdentityType
-
Location
@@ -3634,9 +3858,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ResourceGuardResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ResourceGuardResourceList
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ResourceGuardResourceList
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ResourceGuardResourceList
@@ -3656,9 +3880,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ResourceMoveDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ResourceMoveDetails
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ResourceMoveDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ResourceMoveDetails
@@ -3702,9 +3926,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RestorableTimeRange
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RestorableTimeRange
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RestorableTimeRange
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RestorableTimeRange
@@ -3736,9 +3960,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RestoreFilesTargetInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RestoreFilesTargetInfo
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RestoreFilesTargetInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RestoreFilesTargetInfo
@@ -3770,9 +3994,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RestoreJobRecoveryPointDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RestoreJobRecoveryPointDetails
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RestoreJobRecoveryPointDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RestoreJobRecoveryPointDetails
@@ -3798,9 +4022,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RestoreTargetInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RestoreTargetInfo
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RestoreTargetInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RestoreTargetInfo
@@ -3832,9 +4056,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RestoreTargetInfoBase
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RestoreTargetInfoBase
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RestoreTargetInfoBase
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RestoreTargetInfoBase
@@ -3866,9 +4090,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RetentionTag
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RetentionTag
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RetentionTag
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RetentionTag
@@ -3894,9 +4118,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ScheduleBasedBackupCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ScheduleBasedBackupCriteria
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ScheduleBasedBackupCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ScheduleBasedBackupCriteria
@@ -3946,9 +4170,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ScheduleBasedTriggerContext
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ScheduleBasedTriggerContext
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ScheduleBasedTriggerContext
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ScheduleBasedTriggerContext
@@ -3968,9 +4192,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SecretStoreBasedAuthCredentials
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SecretStoreBasedAuthCredentials
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SecretStoreBasedAuthCredentials
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SecretStoreBasedAuthCredentials
@@ -3990,9 +4214,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SecretStoreResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SecretStoreResource
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SecretStoreResource
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SecretStoreResource
@@ -4024,9 +4248,37 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.StorageSetting
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SoftDeleteSettings
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SoftDeleteSettings
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RetentionDurationInDay
+
+
+ State
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.StorageSetting
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.StorageSetting
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.StorageSetting
@@ -4046,9 +4298,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SupportedFeature
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SupportedFeature
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SupportedFeature
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SupportedFeature
@@ -4080,9 +4332,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SyncBackupInstanceRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SyncBackupInstanceRequest
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SyncBackupInstanceRequest
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SyncBackupInstanceRequest
@@ -4102,9 +4354,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SystemData
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SystemData
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SystemData
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SystemData
@@ -4154,9 +4406,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.TaggingCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.TaggingCriteria
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.TaggingCriteria
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.TaggingCriteria
@@ -4182,9 +4434,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.TargetDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.TargetDetails
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.TargetDetails
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.TargetDetails
@@ -4194,6 +4446,9 @@
+
+
+
@@ -4207,6 +4462,9 @@
RestoreTargetLocationType
+
+ TargetResourceArmId
+
Url
@@ -4216,9 +4474,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.TriggerContext
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.TriggerContext
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.TriggerContext
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.TriggerContext
@@ -4238,9 +4496,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.UserFacingError
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.UserFacingError
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.UserFacingError
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.UserFacingError
@@ -4290,9 +4548,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.UserFacingErrorProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.UserFacingErrorProperties
- Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.UserFacingErrorProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.UserFacingErrorProperties
diff --git a/src/DataProtection/Az.DataProtection.psd1 b/src/DataProtection/Az.DataProtection.psd1
index 08bb8dbf1b2e..9d84ba0f163c 100644
--- a/src/DataProtection/Az.DataProtection.psd1
+++ b/src/DataProtection/Az.DataProtection.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 09/11/2022
+# Generated on: 1/30/2023
#
@{
@@ -145,7 +145,7 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
- ReleaseNotes = '* Fixed spacing issues in Set-AzDataProtectionMSIPermission.ps1'
+ # ReleaseNotes = ''
# Prerelease string of this module
# Prerelease = ''
diff --git a/src/DataProtection/Az.DataProtection.psm1 b/src/DataProtection/Az.DataProtection.psm1
index e032a9f20cd5..c2b95760209c 100644
--- a/src/DataProtection/Az.DataProtection.psm1
+++ b/src/DataProtection/Az.DataProtection.psm1
@@ -33,7 +33,7 @@
}
if(-not $accountsModule) {
- Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://learn.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
+ Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://docs.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
} elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) {
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
}
diff --git a/src/DataProtection/Changelog.md b/src/DataProtection/ChangeLog.md
similarity index 84%
rename from src/DataProtection/Changelog.md
rename to src/DataProtection/ChangeLog.md
index c0d90b5f74dd..e46c440c2fa8 100644
--- a/src/DataProtection/Changelog.md
+++ b/src/DataProtection/ChangeLog.md
@@ -18,6 +18,12 @@
- Additional information about change #1
-->
## Upcoming Release
+* Added support for Immutable backup vaults
+* Added Cross subscription restore flag for backup vaults
+* Added Soft delete setting for backup vaults
+* Fixed issue with Set-AzDataProtectionMSIPermission command
+* Replaced Get-InstalledModule with Get-Module -ListAvailable
+* Added New-AzDataProtectionSoftDeleteSettingObject command
## Version 1.0.1
* Fixed spacing issues in Set-AzDataProtectionMSIPermission.ps1
diff --git a/src/DataProtection/DataProtection.sln b/src/DataProtection/DataProtection.sln
index ef7e04c93a1e..92a214c8b772 100644
--- a/src/DataProtection/DataProtection.sln
+++ b/src/DataProtection/DataProtection.sln
@@ -1,104 +1,58 @@

Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-VisualStudioVersion = 16.6.30114.105
+# Visual Studio Version 17
+VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{7420DEFA-6083-4062-8D44-6FAF25466005}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{70F3ABF5-CC20-44FA-9625-9C793F887E37}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{0D649829-9B0A-412F-8FAC-8088DF1BE079}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{3D1F7405-0C02-4B42-81E2-3B9EF70A46EE}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{BCEDA6E2-0624-4179-9F43-27E17EED7F31}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{96DD0394-7DB5-4348-9D79-DA69BE6555AE}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{23F84C52-7CD4-47DD-8879-A61B4F603606}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{6F3E1031-0E67-4DAA-90DE-340A4471D686}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{BB536487-A1BA-42A0-ACCC-A19A0CBFF20F}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{0CEFCFC5-47DA-4F26-BA49-5F78AD019AB3}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DataProtection", "Az.DataProtection.csproj", "{F5D50887-CA63-4D05-9019-0DED90C0C9BA}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{8FC38CC5-15DA-439A-BB6D-3DC0418BC512}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DataProtection", "Az.DataProtection.csproj", "{ED46C18F-5742-4793-AF2A-DDB77AC7DC09}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
- Debug|x64 = Debug|x64
- Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
- Release|x64 = Release|x64
- Release|x86 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7420DEFA-6083-4062-8D44-6FAF25466005}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7420DEFA-6083-4062-8D44-6FAF25466005}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7420DEFA-6083-4062-8D44-6FAF25466005}.Debug|x64.ActiveCfg = Debug|Any CPU
- {7420DEFA-6083-4062-8D44-6FAF25466005}.Debug|x64.Build.0 = Debug|Any CPU
- {7420DEFA-6083-4062-8D44-6FAF25466005}.Debug|x86.ActiveCfg = Debug|Any CPU
- {7420DEFA-6083-4062-8D44-6FAF25466005}.Debug|x86.Build.0 = Debug|Any CPU
- {7420DEFA-6083-4062-8D44-6FAF25466005}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7420DEFA-6083-4062-8D44-6FAF25466005}.Release|Any CPU.Build.0 = Release|Any CPU
- {7420DEFA-6083-4062-8D44-6FAF25466005}.Release|x64.ActiveCfg = Release|Any CPU
- {7420DEFA-6083-4062-8D44-6FAF25466005}.Release|x64.Build.0 = Release|Any CPU
- {7420DEFA-6083-4062-8D44-6FAF25466005}.Release|x86.ActiveCfg = Release|Any CPU
- {7420DEFA-6083-4062-8D44-6FAF25466005}.Release|x86.Build.0 = Release|Any CPU
- {0D649829-9B0A-412F-8FAC-8088DF1BE079}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {0D649829-9B0A-412F-8FAC-8088DF1BE079}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0D649829-9B0A-412F-8FAC-8088DF1BE079}.Debug|x64.ActiveCfg = Debug|Any CPU
- {0D649829-9B0A-412F-8FAC-8088DF1BE079}.Debug|x64.Build.0 = Debug|Any CPU
- {0D649829-9B0A-412F-8FAC-8088DF1BE079}.Debug|x86.ActiveCfg = Debug|Any CPU
- {0D649829-9B0A-412F-8FAC-8088DF1BE079}.Debug|x86.Build.0 = Debug|Any CPU
- {0D649829-9B0A-412F-8FAC-8088DF1BE079}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {0D649829-9B0A-412F-8FAC-8088DF1BE079}.Release|Any CPU.Build.0 = Release|Any CPU
- {0D649829-9B0A-412F-8FAC-8088DF1BE079}.Release|x64.ActiveCfg = Release|Any CPU
- {0D649829-9B0A-412F-8FAC-8088DF1BE079}.Release|x64.Build.0 = Release|Any CPU
- {0D649829-9B0A-412F-8FAC-8088DF1BE079}.Release|x86.ActiveCfg = Release|Any CPU
- {0D649829-9B0A-412F-8FAC-8088DF1BE079}.Release|x86.Build.0 = Release|Any CPU
- {BCEDA6E2-0624-4179-9F43-27E17EED7F31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {BCEDA6E2-0624-4179-9F43-27E17EED7F31}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {BCEDA6E2-0624-4179-9F43-27E17EED7F31}.Debug|x64.ActiveCfg = Debug|Any CPU
- {BCEDA6E2-0624-4179-9F43-27E17EED7F31}.Debug|x64.Build.0 = Debug|Any CPU
- {BCEDA6E2-0624-4179-9F43-27E17EED7F31}.Debug|x86.ActiveCfg = Debug|Any CPU
- {BCEDA6E2-0624-4179-9F43-27E17EED7F31}.Debug|x86.Build.0 = Debug|Any CPU
- {BCEDA6E2-0624-4179-9F43-27E17EED7F31}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {BCEDA6E2-0624-4179-9F43-27E17EED7F31}.Release|Any CPU.Build.0 = Release|Any CPU
- {BCEDA6E2-0624-4179-9F43-27E17EED7F31}.Release|x64.ActiveCfg = Release|Any CPU
- {BCEDA6E2-0624-4179-9F43-27E17EED7F31}.Release|x64.Build.0 = Release|Any CPU
- {BCEDA6E2-0624-4179-9F43-27E17EED7F31}.Release|x86.ActiveCfg = Release|Any CPU
- {BCEDA6E2-0624-4179-9F43-27E17EED7F31}.Release|x86.Build.0 = Release|Any CPU
- {23F84C52-7CD4-47DD-8879-A61B4F603606}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {23F84C52-7CD4-47DD-8879-A61B4F603606}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {23F84C52-7CD4-47DD-8879-A61B4F603606}.Debug|x64.ActiveCfg = Debug|Any CPU
- {23F84C52-7CD4-47DD-8879-A61B4F603606}.Debug|x64.Build.0 = Debug|Any CPU
- {23F84C52-7CD4-47DD-8879-A61B4F603606}.Debug|x86.ActiveCfg = Debug|Any CPU
- {23F84C52-7CD4-47DD-8879-A61B4F603606}.Debug|x86.Build.0 = Debug|Any CPU
- {23F84C52-7CD4-47DD-8879-A61B4F603606}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {23F84C52-7CD4-47DD-8879-A61B4F603606}.Release|Any CPU.Build.0 = Release|Any CPU
- {23F84C52-7CD4-47DD-8879-A61B4F603606}.Release|x64.ActiveCfg = Release|Any CPU
- {23F84C52-7CD4-47DD-8879-A61B4F603606}.Release|x64.Build.0 = Release|Any CPU
- {23F84C52-7CD4-47DD-8879-A61B4F603606}.Release|x86.ActiveCfg = Release|Any CPU
- {23F84C52-7CD4-47DD-8879-A61B4F603606}.Release|x86.Build.0 = Release|Any CPU
- {BB536487-A1BA-42A0-ACCC-A19A0CBFF20F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {BB536487-A1BA-42A0-ACCC-A19A0CBFF20F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {BB536487-A1BA-42A0-ACCC-A19A0CBFF20F}.Debug|x64.ActiveCfg = Debug|Any CPU
- {BB536487-A1BA-42A0-ACCC-A19A0CBFF20F}.Debug|x64.Build.0 = Debug|Any CPU
- {BB536487-A1BA-42A0-ACCC-A19A0CBFF20F}.Debug|x86.ActiveCfg = Debug|Any CPU
- {BB536487-A1BA-42A0-ACCC-A19A0CBFF20F}.Debug|x86.Build.0 = Debug|Any CPU
- {BB536487-A1BA-42A0-ACCC-A19A0CBFF20F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {BB536487-A1BA-42A0-ACCC-A19A0CBFF20F}.Release|Any CPU.Build.0 = Release|Any CPU
- {BB536487-A1BA-42A0-ACCC-A19A0CBFF20F}.Release|x64.ActiveCfg = Release|Any CPU
- {BB536487-A1BA-42A0-ACCC-A19A0CBFF20F}.Release|x64.Build.0 = Release|Any CPU
- {BB536487-A1BA-42A0-ACCC-A19A0CBFF20F}.Release|x86.ActiveCfg = Release|Any CPU
- {BB536487-A1BA-42A0-ACCC-A19A0CBFF20F}.Release|x86.Build.0 = Release|Any CPU
- {F5D50887-CA63-4D05-9019-0DED90C0C9BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F5D50887-CA63-4D05-9019-0DED90C0C9BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F5D50887-CA63-4D05-9019-0DED90C0C9BA}.Debug|x64.ActiveCfg = Debug|Any CPU
- {F5D50887-CA63-4D05-9019-0DED90C0C9BA}.Debug|x64.Build.0 = Debug|Any CPU
- {F5D50887-CA63-4D05-9019-0DED90C0C9BA}.Debug|x86.ActiveCfg = Debug|Any CPU
- {F5D50887-CA63-4D05-9019-0DED90C0C9BA}.Debug|x86.Build.0 = Debug|Any CPU
- {F5D50887-CA63-4D05-9019-0DED90C0C9BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F5D50887-CA63-4D05-9019-0DED90C0C9BA}.Release|Any CPU.Build.0 = Release|Any CPU
- {F5D50887-CA63-4D05-9019-0DED90C0C9BA}.Release|x64.ActiveCfg = Release|Any CPU
- {F5D50887-CA63-4D05-9019-0DED90C0C9BA}.Release|x64.Build.0 = Release|Any CPU
- {F5D50887-CA63-4D05-9019-0DED90C0C9BA}.Release|x86.ActiveCfg = Release|Any CPU
- {F5D50887-CA63-4D05-9019-0DED90C0C9BA}.Release|x86.Build.0 = Release|Any CPU
+ {70F3ABF5-CC20-44FA-9625-9C793F887E37}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {70F3ABF5-CC20-44FA-9625-9C793F887E37}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {70F3ABF5-CC20-44FA-9625-9C793F887E37}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {70F3ABF5-CC20-44FA-9625-9C793F887E37}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3D1F7405-0C02-4B42-81E2-3B9EF70A46EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3D1F7405-0C02-4B42-81E2-3B9EF70A46EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3D1F7405-0C02-4B42-81E2-3B9EF70A46EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3D1F7405-0C02-4B42-81E2-3B9EF70A46EE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {96DD0394-7DB5-4348-9D79-DA69BE6555AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {96DD0394-7DB5-4348-9D79-DA69BE6555AE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {96DD0394-7DB5-4348-9D79-DA69BE6555AE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {96DD0394-7DB5-4348-9D79-DA69BE6555AE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6F3E1031-0E67-4DAA-90DE-340A4471D686}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6F3E1031-0E67-4DAA-90DE-340A4471D686}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6F3E1031-0E67-4DAA-90DE-340A4471D686}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6F3E1031-0E67-4DAA-90DE-340A4471D686}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0CEFCFC5-47DA-4F26-BA49-5F78AD019AB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0CEFCFC5-47DA-4F26-BA49-5F78AD019AB3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0CEFCFC5-47DA-4F26-BA49-5F78AD019AB3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0CEFCFC5-47DA-4F26-BA49-5F78AD019AB3}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8FC38CC5-15DA-439A-BB6D-3DC0418BC512}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8FC38CC5-15DA-439A-BB6D-3DC0418BC512}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8FC38CC5-15DA-439A-BB6D-3DC0418BC512}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8FC38CC5-15DA-439A-BB6D-3DC0418BC512}.Release|Any CPU.Build.0 = Release|Any CPU
+ {ED46C18F-5742-4793-AF2A-DDB77AC7DC09}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {ED46C18F-5742-4793-AF2A-DDB77AC7DC09}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {ED46C18F-5742-4793-AF2A-DDB77AC7DC09}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {ED46C18F-5742-4793-AF2A-DDB77AC7DC09}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/src/DataProtection/README.md b/src/DataProtection/README.md
index 76fb6c5cf236..96c96dd86e04 100644
--- a/src/DataProtection/README.md
+++ b/src/DataProtection/README.md
@@ -34,11 +34,11 @@ This file contains the configuration for generating My API from the OpenAPI spec
``` yaml
# it's the same options as command line options, just drop the double-dash!
-branch: c0d5296b483a5fe4de7851fcd45acde14e736574
+branch: f38115ac455af89493b0a0719d9a987404560dda
require:
- $(this-folder)/../readme.azure.noprofile.md
input-file:
- - $(repo)/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2022-05-01/dataprotection.json
+ - $(repo)/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2022-12-01/dataprotection.json
title: DataProtection
directive:
- from: swagger-document
@@ -54,6 +54,35 @@ directive:
set:
parameter-name: CriticalOperationExclusionList
clear-alias: true
+ - where:
+ parameter-name: ImmutabilitySettingState
+ set:
+ parameter-name: ImmutabilityState
+ parameter-description: Immutability state of the vault. Allowed values are Disabled, Unlocked, Locked.
+ clear-alias: true
+ - where:
+ parameter-name: CrossSubscriptionRestoreSettingState
+ set:
+ parameter-name: CrossSubscriptionRestoreState
+ parameter-description: Cross subscription restore state of the vault. Allowed values are Disabled, Enabled, PermanentlyDisabled.
+ clear-alias: true
+ - where:
+ parameter-name: SoftDeleteSettingRetentionDurationInDay
+ set:
+ parameter-name: SoftDeleteRetentionDurationInDay
+ parameter-description: Soft delete retention duration in days.
+ clear-alias: true
+ - where:
+ parameter-name: SoftDeleteSettingState
+ set:
+ parameter-name: SoftDeleteState
+ parameter-description: Soft delete state of the vault. Allowed values are Off, On, AlwaysOn.
+ clear-alias: true
+ - where:
+ parameter-name: SecuritySettingSoftDeleteSetting
+ set:
+ parameter-name: SoftDeleteSetting
+ clear-alias: true
- where:
verb: Get
subject: BackupVaultResource.*
@@ -77,6 +106,9 @@ directive:
verb: Update
subject: ResourceGuard
remove: true
+ - where:
+ subject: DeletedBackupInstance
+ remove: true
- where:
verb: Set
subject: ResourceGuard.*
@@ -217,6 +249,26 @@ directive:
property-name: VaultCriticalOperationExclusionList
set:
property-name: CriticalOperationExclusionList
+ - where:
+ property-name: ImmutabilitySettingState
+ set:
+ property-name: ImmutabilityState
+ - where:
+ property-name: SecuritySettingSoftDeleteSetting
+ set:
+ property-name: SoftDeleteSetting
+ - where:
+ property-name: CrossSubscriptionRestoreSettingState
+ set:
+ property-name: CrossSubscriptionRestoreState
+ - where:
+ property-name: SoftDeleteSettingRetentionDurationInDay
+ set:
+ property-name: SoftDeleteRetentionDurationInDay
+ - where:
+ property-name: SoftDeleteSettingState
+ set:
+ property-name: SoftDeleteState
- where:
model-name: BackupVaultResource
set:
@@ -227,7 +279,6 @@ directive:
- Type
- IdentityType
- no-inline:
- - UserFacingError
- InnerError
- BackupInstance
- RestoreTargetInfo
@@ -237,20 +288,21 @@ directive:
- RestoreTargetInfoBase
- PolicyParameters
- SecretStoreBasedAuthCredentials
- - SecretStoreResource
+ - SecretStoreResource
- SystemData
+ - UserFacingError
- from: source-file-csharp
where: $
- transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBaseBackupPolicy Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBaseBackupPolicy Property');
+ transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBaseBackupPolicy Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBaseBackupPolicy Property');
- from: source-file-csharp
where: $
- transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ITriggerContext Trigger', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ITriggerContext Trigger');
+ transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ITriggerContext Trigger', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ITriggerContext Trigger');
- from: source-file-csharp
where: $
- transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupParameters BackupParameter', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupParameters BackupParameter');
+ transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupParameters BackupParameter', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupParameters BackupParameter');
- from: source-file-csharp
where: $
- transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupRecoveryPoint Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupRecoveryPoint Property');
+ transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupRecoveryPoint Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupRecoveryPoint Property');
```
## Alternate settings
diff --git a/src/DataProtection/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupInstanceInAzGraph.ps1 b/src/DataProtection/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupInstanceInAzGraph.ps1
index 31161e4f33c4..3cb42afded9c 100644
--- a/src/DataProtection/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupInstanceInAzGraph.ps1
+++ b/src/DataProtection/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupInstanceInAzGraph.ps1
@@ -55,7 +55,7 @@
foreach($argResponse in $argInstanceResponse)
{
$jsonStringResponse = $argResponse | ConvertTo-Json -Depth 100
- $backupInstances += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupInstanceResource]::FromJsonString($jsonStringResponse)
+ $backupInstances += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupInstanceResource]::FromJsonString($jsonStringResponse)
}
return $backupInstances
}
diff --git a/src/DataProtection/custom/Cmdlets/Backupcenter/Search-AzDataProtectionJobInAzGraph.ps1 b/src/DataProtection/custom/Cmdlets/Backupcenter/Search-AzDataProtectionJobInAzGraph.ps1
index c8a98dff69de..17a80e0d2636 100644
--- a/src/DataProtection/custom/Cmdlets/Backupcenter/Search-AzDataProtectionJobInAzGraph.ps1
+++ b/src/DataProtection/custom/Cmdlets/Backupcenter/Search-AzDataProtectionJobInAzGraph.ps1
@@ -83,7 +83,7 @@
foreach($jobresponse in $argJobResponse)
{
$jsonStringResponse = $jobresponse | ConvertTo-Json -Depth 100
- $backupJobs += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupJobResource]::FromJsonString($jsonStringResponse)
+ $backupJobs += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupJobResource]::FromJsonString($jsonStringResponse)
}
return $backupJobs
}
diff --git a/src/DataProtection/custom/Cmdlets/Common/Initialize-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/custom/Cmdlets/Common/Initialize-AzDataProtectionBackupInstance.ps1
index 7e37f229adfd..22d99f56ff3d 100644
--- a/src/DataProtection/custom/Cmdlets/Common/Initialize-AzDataProtectionBackupInstance.ps1
+++ b/src/DataProtection/custom/Cmdlets/Common/Initialize-AzDataProtectionBackupInstance.ps1
@@ -2,7 +2,7 @@
function Initialize-AzDataProtectionBackupInstance {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupInstanceResource')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupInstanceResource')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Initializes Backup instance Request object for configuring backup')]
@@ -43,7 +43,7 @@ function Initialize-AzDataProtectionBackupInstance {
process {
$manifest = LoadManifest -DatasourceType $DatasourceType.ToString()
- $backupInstance = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupInstance]::new()
+ $backupInstance = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupInstance]::new()
$backupInstance.ObjectType = "BackupInstance"
if($DatasourceType.ToString() -ne "AzureDisk" -and $SnapshotResourceGroupId -ne "")
@@ -84,9 +84,9 @@ function Initialize-AzDataProtectionBackupInstance {
$errormsg = "Please input SecretStoreType"
throw $errormsg
}
- $backupInstance.DatasourceAuthCredentials = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SecretStoreBasedAuthCredentials]::new()
+ $backupInstance.DatasourceAuthCredentials = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SecretStoreBasedAuthCredentials]::new()
$backupInstance.DatasourceAuthCredentials.ObjectType = "SecretStoreBasedAuthCredentials"
- $backupInstance.DatasourceAuthCredentials.SecretStoreResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SecretStoreResource]::new()
+ $backupInstance.DatasourceAuthCredentials.SecretStoreResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SecretStoreResource]::new()
$backupInstance.DatasourceAuthCredentials.SecretStoreResource.SecretStoreType = $SecretStoreType
$backupInstance.DatasourceAuthCredentials.SecretStoreResource.Uri = $SecretStoreURI
}
@@ -96,7 +96,7 @@ function Initialize-AzDataProtectionBackupInstance {
}
}
- $backupInstanceResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupInstanceResource]::new()
+ $backupInstanceResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupInstanceResource]::new()
$backupInstanceResource.Property = $backupInstance
if($PSBoundParameters.ContainsKey("DatasourceId"))
@@ -114,7 +114,7 @@ function Initialize-AzDataProtectionBackupInstance {
if($DatasourceType.ToString() -eq "AzureDisk")
{
- $operationalParam = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureOperationalStoreParameters]::new()
+ $operationalParam = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureOperationalStoreParameters]::new()
$operationalParam.DataStoreType = "OperationalStore"
$operationalParam.ObjectType = "AzureOperationalStoreParameters"
$operationalParam.ResourceGroupId = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}"
diff --git a/src/DataProtection/custom/Cmdlets/Common/New-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/custom/Cmdlets/Common/New-AzDataProtectionBackupInstance.ps1
index 446ac8c293ef..6bc6e6f0a5e7 100644
--- a/src/DataProtection/custom/Cmdlets/Common/New-AzDataProtectionBackupInstance.ps1
+++ b/src/DataProtection/custom/Cmdlets/Common/New-AzDataProtectionBackupInstance.ps1
@@ -20,7 +20,7 @@ function New-AzDataProtectionBackupInstance {
${VaultName},
[Parameter(Mandatory, HelpMessage='Backup instance request object which will be used to configure backup')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupInstanceResource]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupInstanceResource]
${BackupInstance},
[Parameter(Mandatory=$false, HelpMessage='Resource tags')]
diff --git a/src/DataProtection/custom/Cmdlets/Common/New-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/custom/Cmdlets/Common/New-AzDataProtectionResourceGuard.ps1
index ea795b954071..d25cfccf9e97 100644
--- a/src/DataProtection/custom/Cmdlets/Common/New-AzDataProtectionResourceGuard.ps1
+++ b/src/DataProtection/custom/Cmdlets/Common/New-AzDataProtectionResourceGuard.ps1
@@ -2,7 +2,7 @@
function New-AzDataProtectionResourceGuard
{
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IResourceGuardResource')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IResourceGuardResource')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Creates a resource guard under a resource group')]
diff --git a/src/DataProtection/custom/Cmdlets/Common/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 b/src/DataProtection/custom/Cmdlets/Common/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1
index fb79acb77317..c5a1322132a1 100644
--- a/src/DataProtection/custom/Cmdlets/Common/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1
+++ b/src/DataProtection/custom/Cmdlets/Common/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1
@@ -2,7 +2,7 @@
function Update-AzDataProtectionBackupInstanceAssociatedPolicy
{
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupInstanceResource')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupInstanceResource')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Updates associated policy for a given backup instance')]
diff --git a/src/DataProtection/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1
index 7b2e3b67326b..79b2ba7f9277 100644
--- a/src/DataProtection/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1
+++ b/src/DataProtection/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1
@@ -2,7 +2,7 @@
function Update-AzDataProtectionResourceGuard
{
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IResourceGuardResource')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IResourceGuardResource')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Updates a resource guard belonging to a resource group')]
diff --git a/src/DataProtection/custom/Cmdlets/Platform/Restore/Initialize-AzDataProtectionRestoreRequest.ps1 b/src/DataProtection/custom/Cmdlets/Platform/Restore/Initialize-AzDataProtectionRestoreRequest.ps1
index 9bfd579894a5..dd27c8364afa 100644
--- a/src/DataProtection/custom/Cmdlets/Platform/Restore/Initialize-AzDataProtectionRestoreRequest.ps1
+++ b/src/DataProtection/custom/Cmdlets/Platform/Restore/Initialize-AzDataProtectionRestoreRequest.ps1
@@ -1,6 +1,6 @@
function Initialize-AzDataProtectionRestoreRequest
{
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupRestoreRequest')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupRestoreRequest')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Initializes Restore Request object for triggering restore on a protected backup instance.')]
@@ -71,7 +71,7 @@
[Parameter(ParameterSetName="OriginalLocationFullRecovery", Mandatory, HelpMessage='Backup Instance object to trigger original localtion restore.')]
[Parameter(ParameterSetName="OriginalLocationILR", Mandatory, HelpMessage='Backup Instance object to trigger original localtion restore.')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupInstanceResource]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupInstanceResource]
${BackupInstance},
[Parameter(ParameterSetName="AlternateLocationFullRecovery", Mandatory, HelpMessage='Target resource Id to which backup data will be restored.')]
@@ -132,7 +132,7 @@
Write-Debug -Message $RecoveryPoint
if($PSBoundParameters.ContainsKey("RehydrationPriority")){
- $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRestoreWithRehydrationRequest]::new()
+ $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRestoreWithRehydrationRequest]::new()
$restoreRequest.ObjectType = "AzureBackupRestoreWithRehydrationRequest"
$restoreRequest.RehydrationPriority = $RehydrationPriority
if($PSBoundParameters.ContainsKey("RehydrationDuration")){
@@ -143,7 +143,7 @@
}
}
else{
- $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRecoveryPointBasedRestoreRequest]::new()
+ $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRecoveryPointBasedRestoreRequest]::new()
$restoreRequest.ObjectType = "AzureBackupRecoveryPointBasedRestoreRequest"
}
$restoreRequest.RecoveryPointId = $RecoveryPoint
@@ -153,7 +153,7 @@
{
$utcTime = $PointInTime.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss.0000000Z")
Write-Debug -Message $utcTime
- $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureBackupRecoveryTimeBasedRestoreRequest]::new()
+ $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureBackupRecoveryTimeBasedRestoreRequest]::new()
$restoreRequest.ObjectType = "AzureBackupRecoveryTimeBasedRestoreRequest"
$restoreRequest.RecoveryPointTime = $utcTime
$restoreMode = "PointInTimeBased"
@@ -170,7 +170,7 @@
if($RestoreType -eq "RestoreAsFiles")
{
- $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RestoreFilesTargetInfo]::new()
+ $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RestoreFilesTargetInfo]::new()
$restoreRequest.RestoreTargetInfo.ObjectType = "RestoreFilesTargetInfo"
if(!($PSBoundParameters.ContainsKey("FileNamePrefix")) -or !($PSBoundParameters.ContainsKey("TargetContainerURI")) ){
@@ -185,13 +185,13 @@
elseif(!($ItemLevelRecovery))
{
# RestoreTargetInfo for OLR ALR Full recovery
- $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RestoreTargetInfo]::new()
+ $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RestoreTargetInfo]::new()
$restoreRequest.RestoreTargetInfo.ObjectType = "restoreTargetInfo"
}
else
{
# ILR: ItemLevelRestoreTargetInfo
- $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ItemLevelRestoreTargetInfo]::new()
+ $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ItemLevelRestoreTargetInfo]::new()
$restoreRequest.RestoreTargetInfo.ObjectType = "itemLevelRestoreTargetInfo"
$restoreCriteriaList = @()
@@ -199,7 +199,7 @@
if($ContainersList.length -gt 0){
for($i = 0; $i -lt $ContainersList.length; $i++){
- $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RangeBasedItemLevelRestoreCriteria]::new()
+ $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RangeBasedItemLevelRestoreCriteria]::new()
$restoreCriteria.ObjectType = "RangeBasedItemLevelRestoreCriteria"
$restoreCriteria.MinMatchingValue = $ContainersList[$i]
@@ -218,7 +218,7 @@
for($i = 0; $i -lt $FromPrefixPattern.length; $i++){
- $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.RangeBasedItemLevelRestoreCriteria]::new()
+ $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.RangeBasedItemLevelRestoreCriteria]::new()
$restoreCriteria.ObjectType = "RangeBasedItemLevelRestoreCriteria"
$restoreCriteria.MinMatchingValue = $FromPrefixPattern[$i]
@@ -280,9 +280,9 @@
$errormsg = "Please input SecretStoreType"
throw $errormsg
}
- $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SecretStoreBasedAuthCredentials]::new()
+ $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SecretStoreBasedAuthCredentials]::new()
$restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials.ObjectType = "SecretStoreBasedAuthCredentials"
- $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials.SecretStoreResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SecretStoreResource]::new()
+ $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials.SecretStoreResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SecretStoreResource]::new()
$restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials.SecretStoreResource.SecretStoreType = $SecretStoreType
$restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials.SecretStoreResource.Uri = $SecretStoreURI
}
diff --git a/src/DataProtection/custom/Cmdlets/Platform/Restore/Test-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/custom/Cmdlets/Platform/Restore/Test-AzDataProtectionBackupInstanceRestore.ps1
index 18552a2e49a1..876d0e7ce4b0 100644
--- a/src/DataProtection/custom/Cmdlets/Platform/Restore/Test-AzDataProtectionBackupInstanceRestore.ps1
+++ b/src/DataProtection/custom/Cmdlets/Platform/Restore/Test-AzDataProtectionBackupInstanceRestore.ps1
@@ -2,7 +2,7 @@
function Test-AzDataProtectionBackupInstanceRestore
{
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IOperationJobExtendedInfo')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IOperationJobExtendedInfo')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Validates if Restore can be triggered for a DataSource')]
@@ -24,7 +24,7 @@ function Test-AzDataProtectionBackupInstanceRestore
${VaultName},
[Parameter(ParameterSetName="ValidateRestore", Mandatory, HelpMessage='Restore request object for which to validate')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupRestoreRequest]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupRestoreRequest]
${RestoreRequest},
[Parameter()]
@@ -80,7 +80,7 @@ function Test-AzDataProtectionBackupInstanceRestore
process
{
- $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ValidateRestoreRequestObject]::new()
+ $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ValidateRestoreRequestObject]::new()
$Parameter.RestoreRequestObject = $RestoreRequest
$null = $PSBoundParameters.Remove("RestoreRequest")
diff --git a/src/DataProtection/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVault.ps1 b/src/DataProtection/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVault.ps1
index 1b0ce010d63b..3a44844e0879 100644
--- a/src/DataProtection/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVault.ps1
+++ b/src/DataProtection/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVault.ps1
@@ -30,7 +30,7 @@
${Location},
[Parameter(Mandatory, HelpMessage='Storage Settings of the vault. Use New-AzDataProtectionBackupVaultStorageSetting Cmdlet to Create.')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IStorageSetting[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IStorageSetting[]]
${StorageSetting},
[Parameter(Mandatory=$false, HelpMessage='Parameter to Enable or Disable built-in azure monitor alerts for job failures. Security alerts cannot be disabled.')]
@@ -38,6 +38,25 @@
[ValidateSet('Enabled','Disabled')]
${AzureMonitorAlertsForAllJobFailure},
+ [Parameter(Mandatory=$false, HelpMessage='Immutability state of the vault. Allowed values are Disabled, Unlocked, Locked.')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState]
+ [ValidateSet('Disabled','Unlocked', 'Locked')]
+ ${ImmutabilityState},
+
+ [Parameter(Mandatory=$false, HelpMessage='Cross subscription restore state of the vault. Allowed values are Disabled, Enabled, PermanentlyDisabled.')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState]
+ [ValidateSet('Disabled','Enabled', 'PermanentlyDisabled')]
+ ${CrossSubscriptionRestoreState},
+
+ [Parameter(Mandatory=$false, HelpMessage='Soft delete retention duration in days')]
+ [System.Double]
+ ${SoftDeleteRetentionDurationInDay},
+
+ [Parameter(Mandatory=$false, HelpMessage='Soft delete state of the vault. Allowed values are Off, On, AlwaysOn')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState]
+ [ValidateSet('Off','On', 'AlwaysOn')]
+ ${SoftDeleteState},
+
[Parameter(HelpMessage='Resource tags.')]
[System.Collections.Hashtable]
${Tag},
diff --git a/src/DataProtection/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVaultStorageSettingObject.ps1 b/src/DataProtection/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVaultStorageSettingObject.ps1
index cb2121be0351..0be12dc82b9f 100644
--- a/src/DataProtection/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVaultStorageSettingObject.ps1
+++ b/src/DataProtection/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVaultStorageSettingObject.ps1
@@ -15,7 +15,7 @@ function New-AzDataProtectionBackupVaultStorageSettingObject{
)
process {
- $storageSetting = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.StorageSetting]::new()
+ $storageSetting = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.StorageSetting]::new()
$storageSetting.Type = $Type
$storageSetting.DataStoreType = $DataStoreType
diff --git a/src/DataProtection/custom/Cmdlets/Platform/Vault/Set-AzDataProtectionMSIPermission.ps1 b/src/DataProtection/custom/Cmdlets/Platform/Vault/Set-AzDataProtectionMSIPermission.ps1
index a34f2fca6c70..613c912e6489 100644
--- a/src/DataProtection/custom/Cmdlets/Platform/Vault/Set-AzDataProtectionMSIPermission.ps1
+++ b/src/DataProtection/custom/Cmdlets/Platform/Vault/Set-AzDataProtectionMSIPermission.ps1
@@ -5,7 +5,7 @@
param(
[Parameter(Mandatory, HelpMessage='Backup instance request object which will be used to configure backup')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupInstanceResource]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupInstanceResource]
${BackupInstance},
[Parameter(Mandatory=$false, HelpMessage='ID of the keyvault')]
@@ -41,7 +41,7 @@
$ResourceArray = $DataSourceId.Split("/")
$ResourceRG = GetResourceGroupIdFromArmId -Id $DataSourceId
$SubscriptionName = GetSubscriptionNameFromArmId -Id $DataSourceId
- $vault = Get-AzDataProtectionBackupVault -VaultName $VaultName -ResourceGroupName $VaultResourceGroup -SubscriptionId $ResourceArray[2]
+ $vault = Az.DataProtection\Get-AzDataProtectionBackupVault -VaultName $VaultName -ResourceGroupName $VaultResourceGroup -SubscriptionId $ResourceArray[2]
$AllRoles = Az.Resources\Get-AzRoleAssignment -ObjectId $vault.IdentityPrincipalId
diff --git a/src/DataProtection/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 b/src/DataProtection/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1
index b3e039d6f740..2f052bcad438 100644
--- a/src/DataProtection/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1
+++ b/src/DataProtection/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1
@@ -1,14 +1,14 @@

function Edit-AzDataProtectionPolicyRetentionRuleClientObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Adds or removes Retention Rule to existing Policy')]
param(
[Parameter(ParameterSetName='AddRetention',Mandatory, HelpMessage='Backup Policy Object')]
[Parameter(ParameterSetName='RemoveRetention',Mandatory, HelpMessage='Backup Policy Object')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy]
${Policy},
[Parameter(ParameterSetName='AddRetention',Mandatory, HelpMessage='Retention Rule Name')]
@@ -25,7 +25,7 @@ function Edit-AzDataProtectionPolicyRetentionRuleClientObject {
${RemoveRule},
[Parameter(ParameterSetName='AddRetention',Mandatory, HelpMessage='Life cycles associated with the retention rule.')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ISourceLifeCycle[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ISourceLifeCycle[]]
${LifeCycles}
)
@@ -64,7 +64,7 @@ function Edit-AzDataProtectionPolicyRetentionRuleClientObject {
throw "Selected Retention Rule " + $Name + " is not applicable for Datasource Type " + $clientDatasourceType
}
- $newRetentionRule = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.AzureRetentionRule]::new()
+ $newRetentionRule = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.AzureRetentionRule]::new()
$newRetentionRule.ObjectType = "AzureRetentionRule"
$newRetentionRule.IsDefault = $IsDefault
$newRetentionRule.Name = $Name
diff --git a/src/DataProtection/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTagClientObject.ps1 b/src/DataProtection/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTagClientObject.ps1
index b1bb8e5c4f5f..92baa60fc356 100644
--- a/src/DataProtection/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTagClientObject.ps1
+++ b/src/DataProtection/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTagClientObject.ps1
@@ -1,12 +1,12 @@
function Edit-AzDataProtectionPolicyTagClientObject{
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Adds or removes schedule tag in an existing backup policy.')]
param(
[Parameter(ParameterSetName='updateTag', Mandatory, HelpMessage='Backup Policy Object.')]
[Parameter(ParameterSetName='RemoveTag', Mandatory, HelpMessage='Backup Policy Object.')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy]
${Policy},
[Parameter(ParameterSetName='updateTag', Mandatory, HelpMessage='Name of the Schedule tag.')]
@@ -19,7 +19,7 @@
${RemoveRule},
[Parameter(ParameterSetName='updateTag', Mandatory, HelpMessage='Criterias to be associated with the schedule tag.')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IScheduleBasedBackupCriteria[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IScheduleBasedBackupCriteria[]]
${Criteria}
)
@@ -83,7 +83,7 @@
if($tagIndex -eq -1)
{
- $tagCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.TaggingCriteria]::new()
+ $tagCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.TaggingCriteria]::new()
$tagCriteria.TaggingPriority = GetTaggingPriority -Name $Name
$tagCriteria.Criterion = $Criteria
$tagCriteria.TagInfoTagName = $Name
diff --git a/src/DataProtection/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 b/src/DataProtection/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTriggerClientObject.ps1
index b463a7276a04..74683fe99e8e 100644
--- a/src/DataProtection/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTriggerClientObject.ps1
+++ b/src/DataProtection/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTriggerClientObject.ps1
@@ -1,11 +1,11 @@
function Edit-AzDataProtectionPolicyTriggerClientObject{
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Updates Backup schedule of an existing backup policy.')]
param (
[Parameter(Mandatory, HelpMessage='Backup Policy object.')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy]
${Policy},
[Parameter(Mandatory, HelpMessage='Schedule to be associated to backup policy.')]
diff --git a/src/DataProtection/custom/Cmdlets/Policy/Get-AzDataProtectionPolicyTemplate.ps1 b/src/DataProtection/custom/Cmdlets/Policy/Get-AzDataProtectionPolicyTemplate.ps1
index 813f7d198146..019288095c5b 100644
--- a/src/DataProtection/custom/Cmdlets/Policy/Get-AzDataProtectionPolicyTemplate.ps1
+++ b/src/DataProtection/custom/Cmdlets/Policy/Get-AzDataProtectionPolicyTemplate.ps1
@@ -1,7 +1,7 @@

function Get-AzDataProtectionPolicyTemplate {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Gets default policy template for a selected datasource type.')]
@@ -17,7 +17,7 @@ function Get-AzDataProtectionPolicyTemplate {
$manifestPolicyObject = $manifest.policySettings.defaultPolicy
$jsonPolicyString = $manifestPolicyObject | ConvertTo-Json -Depth 100
- $defaultPolicy = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupPolicy]::FromJsonString($jsonPolicyString)
+ $defaultPolicy = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupPolicy]::FromJsonString($jsonPolicyString)
return $defaultPolicy
}
diff --git a/src/DataProtection/custom/Cmdlets/Policy/New-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/custom/Cmdlets/Policy/New-AzDataProtectionBackupPolicy.ps1
index 865777ae4b3d..a8f694d4676d 100644
--- a/src/DataProtection/custom/Cmdlets/Policy/New-AzDataProtectionBackupPolicy.ps1
+++ b/src/DataProtection/custom/Cmdlets/Policy/New-AzDataProtectionBackupPolicy.ps1
@@ -1,7 +1,7 @@
function New-AzDataProtectionBackupPolicy
{
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBaseBackupPolicyResource')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBaseBackupPolicyResource')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Creates a new backup policy in a given backup vault')]
@@ -23,7 +23,7 @@
${Name},
[Parameter(Mandatory, HelpMessage='Policy Request Object')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy]
${Policy},
[Parameter()]
@@ -114,7 +114,7 @@
$index += 1
}
- $policyObject = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BaseBackupPolicyResource]::new()
+ $policyObject = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BaseBackupPolicyResource]::new()
$policyObject.Property = $Policy
$null = $PSBoundParameters.Remove("Policy")
diff --git a/src/DataProtection/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 b/src/DataProtection/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1
index e702edeab0d2..d91dbb458b4f 100644
--- a/src/DataProtection/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1
+++ b/src/DataProtection/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1
@@ -1,5 +1,5 @@
function New-AzDataProtectionPolicyTagCriteriaClientObject{
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IScheduleBasedBackupCriteria')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IScheduleBasedBackupCriteria')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Creates a new criteria object')]
@@ -32,7 +32,7 @@
)
process {
- $criteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ScheduleBasedBackupCriteria]::new()
+ $criteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ScheduleBasedBackupCriteria]::new()
$criteria.ObjectType = "ScheduleBasedBackupCriteria"
if($AbsoluteCriteria -ne $null){
$criteria.AbsoluteCriterion = $AbsoluteCriteria
@@ -61,7 +61,7 @@
{
throw "Day of month should be between 1 and 28."
}
- $day = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.Day]::new()
+ $day = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.Day]::new()
$day.Date = $dayOfMonthNumber
$day.IsLast = $false
$criteria.DaysOfMonth += $day
@@ -72,7 +72,7 @@
{
thow "Day of month should either be between 1 and 28 or it should be last"
}
- $day = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.Day]::new()
+ $day = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.Day]::new()
$day.IsLast = $true
$criteria.DaysOfMonth += $day
}
diff --git a/src/DataProtection/custom/Cmdlets/Policy/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 b/src/DataProtection/custom/Cmdlets/Policy/New-AzDataProtectionRetentionLifeCycleClientObject.ps1
index def0a31d3dca..816dc8f43738 100644
--- a/src/DataProtection/custom/Cmdlets/Policy/New-AzDataProtectionRetentionLifeCycleClientObject.ps1
+++ b/src/DataProtection/custom/Cmdlets/Policy/New-AzDataProtectionRetentionLifeCycleClientObject.ps1
@@ -1,5 +1,5 @@
function New-AzDataProtectionRetentionLifeCycleClientObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ISourceLifeCycle')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ISourceLifeCycle')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Creates new Lifecycle object')]
@@ -26,7 +26,7 @@
)
process {
- $lifeCycle = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.SourceLifeCycle]::new()
+ $lifeCycle = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.SourceLifeCycle]::new()
$lifeCycle.SourceDataStoreObjectType = "DataStoreInfoBase"
$lifeCycle.SourceDataStoreType = $SourceDataStore
$lifeCycle.DeleteAfterObjectType = "AbsoluteDeleteOption"
@@ -34,7 +34,7 @@
if(($TargetDataStore -ne $null) -and ($CopyOption -ne $null))
{
- $targetCopySetting = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.TargetCopySetting]::new()
+ $targetCopySetting = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.TargetCopySetting]::new()
$targetCopySetting.DataStoreObjectType = "DataStoreInfoBase"
$targetCopySetting.DataStoreType = $TargetDataStore
$targetCopySetting.CopyAfterObjectType = $CopyOption
diff --git a/src/DataProtection/custom/Helpers/BackupcenterHelper.ps1 b/src/DataProtection/custom/Helpers/BackupcenterHelper.ps1
index 3d916d0157d4..3bf831586430 100644
--- a/src/DataProtection/custom/Helpers/BackupcenterHelper.ps1
+++ b/src/DataProtection/custom/Helpers/BackupcenterHelper.ps1
@@ -107,7 +107,7 @@ function CheckResourceGraphModuleDependency {
param()
process {
- $module = Get-InstalledModule | Where-Object { $_.Name -eq "Az.ResourceGraph" }
+ $module = Get-Module -ListAvailable | Where-Object { $_.Name -eq "Az.ResourceGraph" }
if ($module -eq $null) {
$message = "Az.ResourceGraph Module must be installed to run this command. Please run 'Install-Module -Name Az.ResourceGraph' to install and continue."
throw $message
@@ -120,7 +120,7 @@ function CheckResourcesModuleDependency {
param()
process {
- $module = Get-InstalledModule | Where-Object { $_.Name -eq "Az.Resources" }
+ $module = Get-Module -ListAvailable | Where-Object { $_.Name -eq "Az.Resources" }
if ($module -eq $null) {
$message = "Az.Resources Module must be installed to run this command. Please run 'Install-Module -Name Az.Resources' to install and continue."
throw $message
@@ -133,7 +133,7 @@ function CheckPostgreSqlModuleDependency {
param()
process {
- $module = Get-InstalledModule | Where-Object { $_.Name -eq "Az.PostgreSql" }
+ $module = Get-Module -ListAvailable | Where-Object { $_.Name -eq "Az.PostgreSql" }
if ($module -eq $null) {
$message = "Az.PostgreSql Module must be installed to run this command. Please run 'Install-Module -Name Az.PostgreSql' to install and continue."
throw $message
@@ -146,7 +146,7 @@ function CheckKeyVaultModuleDependency {
param()
process {
- $module = Get-InstalledModule | Where-Object { $_.Name -eq "Az.KeyVault" }
+ $module = Get-Module -ListAvailable | Where-Object { $_.Name -eq "Az.KeyVault" }
if ($module -eq $null) {
$message = "Az.KeyVault Module must be installed to run this command. Please run 'Install-Module -Name Az.KeyVault' to install and continue."
throw $message
diff --git a/src/DataProtection/custom/Helpers/CommonHelpers.ps1 b/src/DataProtection/custom/Helpers/CommonHelpers.ps1
index 2fac73ebf920..f71a7beeeff0 100644
--- a/src/DataProtection/custom/Helpers/CommonHelpers.ps1
+++ b/src/DataProtection/custom/Helpers/CommonHelpers.ps1
@@ -5,13 +5,13 @@ function GetDatasourceSetInfo
param(
[Parameter(Mandatory=$true)]
[ValidateNotNullOrEmpty()]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IDatasource]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IDatasource]
$DatasourceInfo
)
process
{
- $DataSourceSetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.DatasourceSet]::new()
+ $DataSourceSetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.DatasourceSet]::new()
$DataSourceSetInfo.DatasourceType = $DatasourceInfo.Type
$DataSourceSetInfo.ObjectType = "DatasourceSet"
$splitResourceId = $DatasourceInfo.ResourceId.Split("/")
@@ -50,7 +50,7 @@ function GetDatasourceInfo
{
$manifest = LoadManifest -DatasourceType $DatasourceType.ToString()
- $DataSourceInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.Datasource]::new()
+ $DataSourceInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.Datasource]::new()
$DataSourceInfo.ObjectType = "Datasource"
$DataSourceInfo.ResourceId = $ResourceId
$DataSourceInfo.ResourceLocation = $ResourceLocation
diff --git a/src/DataProtection/custom/Models/BackupInstanceResource.cs b/src/DataProtection/custom/Models/BackupInstanceResource.cs
index 908c6ea86b24..d618b7709aeb 100644
--- a/src/DataProtection/custom/Models/BackupInstanceResource.cs
+++ b/src/DataProtection/custom/Models/BackupInstanceResource.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Text;
-namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501
+namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201
{
public partial class BackupInstanceResource
{
diff --git a/src/DataProtection/custom/README.md b/src/DataProtection/custom/README.md
index 17a6bdafb9b4..9217867c6e17 100644
--- a/src/DataProtection/custom/README.md
+++ b/src/DataProtection/custom/README.md
@@ -32,7 +32,7 @@ These provide functionality to our HTTP pipeline and other useful features. In s
### Attributes
For processing the cmdlets, we've created some additional attributes:
- `Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DescriptionAttribute`
- - Used in C# cmdlets to provide a high-level description of the cmdlet. This is propagated to reference documentation via [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts.
+ - Used in C# cmdlets to provide a high-level description of the cmdlet. This is propagated to reference documentation via [help comments](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts.
- `Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotExportAttribute`
- Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.DataProtection`.
- `Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExportAttribute`
diff --git a/src/DataProtection/examples/New-AzDataProtectionBackupVault.md b/src/DataProtection/examples/New-AzDataProtectionBackupVault.md
index 972b89437162..db62797f6606 100644
--- a/src/DataProtection/examples/New-AzDataProtectionBackupVault.md
+++ b/src/DataProtection/examples/New-AzDataProtectionBackupVault.md
@@ -13,3 +13,17 @@ ETag IdentityPrincipalId IdentityTenantId IdentityType Location Name Type
This command creates a new backup vault.
+### Example 2: Create a new backup vault with ImmutabilityState, CrossSubscriptionRestoreState, soft delete settings
+```powershell
+$sub = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
+$storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType VaultStore -Type LocallyRedundant
+New-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Location westus -StorageSetting $storagesetting -CrossSubscriptionRestoreState Enabled -ImmutabilityState Unlocked -SoftDeleteRetentionDurationInDay 100 -SoftDeleteState On
+```
+
+```output
+ETag IdentityPrincipalId IdentityTenantId IdentityType Location Name Type
+---- ------------------- ---------------- ------------ -------- ---- ----
+ westus MyVault Microsoft.DataProtection/backupVaults
+```
+
+This command creates a new backup vault while setting Immutability state, cross subscription restore state, soft delete settings of the vault at creation time.
diff --git a/src/DataProtection/examples/Update-AzDataProtectionBackupVault.md b/src/DataProtection/examples/Update-AzDataProtectionBackupVault.md
index 80a9dd95acea..2f28799de0cc 100644
--- a/src/DataProtection/examples/Update-AzDataProtectionBackupVault.md
+++ b/src/DataProtection/examples/Update-AzDataProtectionBackupVault.md
@@ -24,3 +24,16 @@ vaultName southeastasia Microsoft.DataProtection/backupVaults SystemAssigned
```
This command disables the monitor alerts for all the job failures for the backup vault. Allowed values are: Enabled, Disabled. Note that by default this setting is enabled.
+
+### Example 3: Update vault ImmutabilityState, CrossSubscriptionRestoreState, soft delete settings
+```powershell
+Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CrossSubscriptionRestoreState Disabled -ImmutabilityState Disabled -SoftDeleteRetentionDurationInDay 99 -SoftDeleteState Off
+```
+
+```output
+Name Location Type IdentityType
+---- -------- ---- ------------
+vaultName southeastasia Microsoft.DataProtection/backupVaults SystemAssigned
+```
+
+This command is used to modify Immutability state, cross subscription restore state, soft delete settings of the vault. These parameters are optional and can be used independently.
diff --git a/src/DataProtection/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1 b/src/DataProtection/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1
index 373e36e41e56..a2153ab39f84 100644
--- a/src/DataProtection/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1
+++ b/src/DataProtection/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1
@@ -38,14 +38,14 @@ while($jobstatus -ne "Completed")
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IOperationJobExtendedInfo
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IOperationJobExtendedInfo
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -53,34 +53,36 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/backup-azdataprotectionbackupinstanceadhoc
#>
function Backup-AzDataProtectionBackupInstanceAdhoc {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IOperationJobExtendedInfo])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IOperationJobExtendedInfo])]
[CmdletBinding(DefaultParameterSetName='BackupExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='BackupExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the backup instance
+ # The name of the backup instance.
${BackupInstanceName},
[Parameter(ParameterSetName='BackupExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='BackupExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='BackupExpanded', Mandatory)]
diff --git a/src/DataProtection/exports/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 b/src/DataProtection/exports/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1
index 55d4710725a4..dd54a45da84c 100644
--- a/src/DataProtection/exports/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1
+++ b/src/DataProtection/exports/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1
@@ -27,7 +27,7 @@ Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $pol -Name Weekly -
Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $pol -Name Weekly -RemoveRule
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -67,12 +67,12 @@ POLICY : Backup Policy Object
https://learn.microsoft.com/powershell/module/az.dataprotection/edit-azdataprotectionpolicyretentionruleclientobject
#>
function Edit-AzDataProtectionPolicyRetentionRuleClientObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy])]
[CmdletBinding(DefaultParameterSetName='RemoveRetention', PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy]
# Backup Policy Object
# To construct, see NOTES section for POLICY properties and create a hash table.
${Policy},
@@ -97,7 +97,7 @@ param(
[Parameter(ParameterSetName='AddRetention', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ISourceLifeCycle[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ISourceLifeCycle[]]
# Life cycles associated with the retention rule.
# To construct, see NOTES section for LIFECYCLES properties and create a hash table.
${LifeCycles}
diff --git a/src/DataProtection/exports/Edit-AzDataProtectionPolicyTagClientObject.ps1 b/src/DataProtection/exports/Edit-AzDataProtectionPolicyTagClientObject.ps1
index b64ed6acf2e6..4470040d94d0 100644
--- a/src/DataProtection/exports/Edit-AzDataProtectionPolicyTagClientObject.ps1
+++ b/src/DataProtection/exports/Edit-AzDataProtectionPolicyTagClientObject.ps1
@@ -26,7 +26,7 @@ Edit-AzDataProtectionPolicyTagClientObject -Policy $pol -Name Weekly -Criteria $
Edit-AzDataProtectionPolicyTagClientObject -Policy $pol -Name Weekly -RemoveRule
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -67,12 +67,12 @@ POLICY : Backup Policy Object.
https://learn.microsoft.com/powershell/module/az.dataprotection/edit-azdataprotectionpolicytagclientobject
#>
function Edit-AzDataProtectionPolicyTagClientObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy])]
[CmdletBinding(DefaultParameterSetName='RemoveTag', PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy]
# Backup Policy Object.
# To construct, see NOTES section for POLICY properties and create a hash table.
${Policy},
@@ -91,7 +91,7 @@ param(
[Parameter(ParameterSetName='updateTag', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IScheduleBasedBackupCriteria[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IScheduleBasedBackupCriteria[]]
# Criterias to be associated with the schedule tag.
# To construct, see NOTES section for CRITERIA properties and create a hash table.
${Criteria}
diff --git a/src/DataProtection/exports/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 b/src/DataProtection/exports/Edit-AzDataProtectionPolicyTriggerClientObject.ps1
index f97cb9f4bd6b..82b6ea7f4d0e 100644
--- a/src/DataProtection/exports/Edit-AzDataProtectionPolicyTriggerClientObject.ps1
+++ b/src/DataProtection/exports/Edit-AzDataProtectionPolicyTriggerClientObject.ps1
@@ -24,7 +24,7 @@ $schedule = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays
Edit-AzDataProtectionPolicyTriggerClientObject -Policy $pol -Schedule $schedule
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -54,12 +54,12 @@ POLICY : Backup Policy object.
https://learn.microsoft.com/powershell/module/az.dataprotection/edit-azdataprotectionpolicytriggerclientobject
#>
function Edit-AzDataProtectionPolicyTriggerClientObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy]
# Backup Policy object.
# To construct, see NOTES section for POLICY properties and create a hash table.
${Policy},
diff --git a/src/DataProtection/exports/Find-AzDataProtectionRestorableTimeRange.ps1 b/src/DataProtection/exports/Find-AzDataProtectionRestorableTimeRange.ps1
index 1a551b81f364..ae2b6f547b20 100644
--- a/src/DataProtection/exports/Find-AzDataProtectionRestorableTimeRange.ps1
+++ b/src/DataProtection/exports/Find-AzDataProtectionRestorableTimeRange.ps1
@@ -27,24 +27,25 @@ $pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName
$pointInTimeRange.RestorableTimeRange | Format-List
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupFindRestorableTimeRangesResponseResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupFindRestorableTimeRangesResponseResource
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/find-azdataprotectionrestorabletimerange
#>
function Find-AzDataProtectionRestorableTimeRange {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupFindRestorableTimeRangesResponseResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupFindRestorableTimeRangesResponseResource])]
[CmdletBinding(DefaultParameterSetName='FindExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the backup instance
+ # The name of the backup instance.
${BackupInstanceName},
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(Mandatory)]
@@ -57,7 +58,8 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(Mandatory)]
diff --git a/src/DataProtection/exports/Get-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/exports/Get-AzDataProtectionBackupInstance.ps1
index 6c865795d948..64928fbc2184 100644
--- a/src/DataProtection/exports/Get-AzDataProtectionBackupInstance.ps1
+++ b/src/DataProtection/exports/Get-AzDataProtectionBackupInstance.ps1
@@ -27,14 +27,14 @@ Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxx
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupInstanceResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupInstanceResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -42,29 +42,30 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupinstance
#>
function Get-AzDataProtectionBackupInstance {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupInstanceResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupInstanceResource])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
[Alias('BackupInstanceName')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the backup instance
+ # The name of the backup instance.
${Name},
[Parameter(ParameterSetName='Get', Mandatory)]
[Parameter(ParameterSetName='List', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get')]
@@ -72,7 +73,8 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/DataProtection/exports/Get-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/exports/Get-AzDataProtectionBackupPolicy.ps1
index 6d1614773835..6339ed83ff3f 100644
--- a/src/DataProtection/exports/Get-AzDataProtectionBackupPolicy.ps1
+++ b/src/DataProtection/exports/Get-AzDataProtectionBackupPolicy.ps1
@@ -27,14 +27,14 @@ Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupNa
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBaseBackupPolicyResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBaseBackupPolicyResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -42,15 +42,15 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackuppolicy
#>
function Get-AzDataProtectionBackupPolicy {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBaseBackupPolicyResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBaseBackupPolicyResource])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -64,7 +64,8 @@ param(
[Parameter(ParameterSetName='List', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get')]
@@ -72,7 +73,8 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/DataProtection/exports/Get-AzDataProtectionBackupVault.ps1 b/src/DataProtection/exports/Get-AzDataProtectionBackupVault.ps1
index 32b9e40e0064..d987e2a31a3c 100644
--- a/src/DataProtection/exports/Get-AzDataProtectionBackupVault.ps1
+++ b/src/DataProtection/exports/Get-AzDataProtectionBackupVault.ps1
@@ -29,14 +29,14 @@ Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupNa
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupVaultResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupVaultResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -44,15 +44,15 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupvault
#>
function Get-AzDataProtectionBackupVault {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupVaultResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupVaultResource])]
[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get')]
@@ -61,14 +61,16 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='Get1', Mandatory)]
[Parameter(ParameterSetName='Get2', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get2', Mandatory)]
diff --git a/src/DataProtection/exports/Get-AzDataProtectionJob.ps1 b/src/DataProtection/exports/Get-AzDataProtectionJob.ps1
index 3725116ebda6..0a45edb031ec 100644
--- a/src/DataProtection/exports/Get-AzDataProtectionJob.ps1
+++ b/src/DataProtection/exports/Get-AzDataProtectionJob.ps1
@@ -27,14 +27,14 @@ Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupJobResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupJobResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -42,15 +42,15 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionjob
#>
function Get-AzDataProtectionJob {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupJobResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupJobResource])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -66,7 +66,8 @@ param(
[Parameter(ParameterSetName='List', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get')]
@@ -74,7 +75,8 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/DataProtection/exports/Get-AzDataProtectionOperation.ps1 b/src/DataProtection/exports/Get-AzDataProtectionOperation.ps1
index b6a589aa6128..cd31a188c0e2 100644
--- a/src/DataProtection/exports/Get-AzDataProtectionOperation.ps1
+++ b/src/DataProtection/exports/Get-AzDataProtectionOperation.ps1
@@ -23,12 +23,12 @@ Returns the list of available operations.
Get-AzDataProtectionOperation
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IClientDiscoveryValueForSingleApi
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IClientDiscoveryValueForSingleApi
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionoperation
#>
function Get-AzDataProtectionOperation {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IClientDiscoveryValueForSingleApi])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IClientDiscoveryValueForSingleApi])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter()]
diff --git a/src/DataProtection/exports/Get-AzDataProtectionPolicyTemplate.ps1 b/src/DataProtection/exports/Get-AzDataProtectionPolicyTemplate.ps1
index 0f7bc6d52afb..acc1f41d9aa7 100644
--- a/src/DataProtection/exports/Get-AzDataProtectionPolicyTemplate.ps1
+++ b/src/DataProtection/exports/Get-AzDataProtectionPolicyTemplate.ps1
@@ -23,12 +23,12 @@ Gets default policy template for a selected datasource type.
Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDisk
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionpolicytemplate
#>
function Get-AzDataProtectionPolicyTemplate {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
diff --git a/src/DataProtection/exports/Get-AzDataProtectionRecoveryPoint.ps1 b/src/DataProtection/exports/Get-AzDataProtectionRecoveryPoint.ps1
index a92f3427b1e9..9e60bbe4bba0 100644
--- a/src/DataProtection/exports/Get-AzDataProtectionRecoveryPoint.ps1
+++ b/src/DataProtection/exports/Get-AzDataProtectionRecoveryPoint.ps1
@@ -29,7 +29,7 @@ Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupN
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupRecoveryPointResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupRecoveryPointResource
.Outputs
System.Management.Automation.PSObject
.Notes
@@ -38,7 +38,7 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -46,22 +46,22 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint
#>
function Get-AzDataProtectionRecoveryPoint {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupRecoveryPointResource], [PSObject])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupRecoveryPointResource], [PSObject])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
[Parameter(ParameterSetName='List')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the backup instance
+ # The name of the backup instance.
${BackupInstanceName},
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -75,7 +75,8 @@ param(
[Parameter(ParameterSetName='List')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get')]
@@ -83,7 +84,8 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/DataProtection/exports/Get-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/exports/Get-AzDataProtectionResourceGuard.ps1
index 84e2709339e0..9c7e6d044baf 100644
--- a/src/DataProtection/exports/Get-AzDataProtectionResourceGuard.ps1
+++ b/src/DataProtection/exports/Get-AzDataProtectionResourceGuard.ps1
@@ -27,14 +27,14 @@ Get-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxx
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IResourceGuardResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IResourceGuardResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -42,15 +42,15 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionresourceguard
#>
function Get-AzDataProtectionResourceGuard {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IResourceGuardResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IResourceGuardResource])]
[CmdletBinding(DefaultParameterSetName='Get1', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -63,7 +63,8 @@ param(
[Parameter(ParameterSetName='Get1', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get')]
@@ -71,7 +72,8 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
diff --git a/src/DataProtection/exports/Initialize-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/exports/Initialize-AzDataProtectionBackupInstance.ps1
index 763301af51df..e7cacbb8f8fc 100644
--- a/src/DataProtection/exports/Initialize-AzDataProtectionBackupInstance.ps1
+++ b/src/DataProtection/exports/Initialize-AzDataProtectionBackupInstance.ps1
@@ -27,12 +27,12 @@ $instance.Property.PolicyInfo.PolicyParameter.DataStoreParametersList[0].Resourc
$instance
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupInstanceResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupInstanceResource
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/initialize-azdataprotectionbackupinstance
#>
function Initialize-AzDataProtectionBackupInstance {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupInstanceResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupInstanceResource])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
diff --git a/src/DataProtection/exports/Initialize-AzDataProtectionRestoreRequest.ps1 b/src/DataProtection/exports/Initialize-AzDataProtectionRestoreRequest.ps1
index 26ffe9eba876..7a35d09c9974 100644
--- a/src/DataProtection/exports/Initialize-AzDataProtectionRestoreRequest.ps1
+++ b/src/DataProtection/exports/Initialize-AzDataProtectionRestoreRequest.ps1
@@ -43,7 +43,7 @@ $pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName
Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore OperationalStore -RestoreLocation $vault.Location -RestoreType OriginalLocation -BackupInstance $instances[0] -PointInTime (Get-Date).AddDays(-1) -ItemLevelRecovery -FromPrefixPattern "container1/aaa","container1/ccc", "container2/aab", "container3" -ToPrefixPattern "container1/bbb","container1/ddd", "container2/abc", "container3-0"
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupRestoreRequest
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupRestoreRequest
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -84,7 +84,7 @@ BACKUPINSTANCE : Backup Instance object to trigger origi
https://learn.microsoft.com/powershell/module/az.dataprotection/initialize-azdataprotectionrestorerequest
#>
function Initialize-AzDataProtectionRestoreRequest {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupRestoreRequest])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupRestoreRequest])]
[CmdletBinding(DefaultParameterSetName='AlternateLocationFullRecovery', PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
@@ -159,7 +159,7 @@ param(
[Parameter(ParameterSetName='OriginalLocationILR', Mandatory)]
[Parameter(ParameterSetName='OriginalLocationFullRecovery', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.BackupInstanceResource]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.BackupInstanceResource]
# Backup Instance object to trigger original localtion restore.
# To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table.
${BackupInstance},
diff --git a/src/DataProtection/exports/New-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/exports/New-AzDataProtectionBackupInstance.ps1
index 16e8602e455e..d0c45d0a24b7 100644
--- a/src/DataProtection/exports/New-AzDataProtectionBackupInstance.ps1
+++ b/src/DataProtection/exports/New-AzDataProtectionBackupInstance.ps1
@@ -91,7 +91,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupInstanceResource]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupInstanceResource]
# Backup instance request object which will be used to configure backup
# To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table.
${BackupInstance},
diff --git a/src/DataProtection/exports/New-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/exports/New-AzDataProtectionBackupPolicy.ps1
index bbf7124acaa2..598760c57e9a 100644
--- a/src/DataProtection/exports/New-AzDataProtectionBackupPolicy.ps1
+++ b/src/DataProtection/exports/New-AzDataProtectionBackupPolicy.ps1
@@ -45,7 +45,7 @@ Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Monthly -Cr
New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "MyPolicy" -Policy $defaultPol
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBaseBackupPolicyResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBaseBackupPolicyResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -75,7 +75,7 @@ POLICY : Policy Request Object
https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackuppolicy
#>
function New-AzDataProtectionBackupPolicy {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBaseBackupPolicyResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBaseBackupPolicyResource])]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -98,7 +98,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupPolicy]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupPolicy]
# Policy Request Object
# To construct, see NOTES section for POLICY properties and create a hash table.
${Policy},
diff --git a/src/DataProtection/exports/New-AzDataProtectionBackupVault.ps1 b/src/DataProtection/exports/New-AzDataProtectionBackupVault.ps1
index e3a891de64e8..5e848cb3ab9a 100644
--- a/src/DataProtection/exports/New-AzDataProtectionBackupVault.ps1
+++ b/src/DataProtection/exports/New-AzDataProtectionBackupVault.ps1
@@ -23,6 +23,10 @@ Creates or updates a BackupVault resource belonging to a resource group.
$sub = "xxxx-xxxx-xxxxx"
$storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType VaultStore -Type LocallyRedundant
New-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName "MyVault" -StorageSetting $storagesetting -Location westus
+.Example
+$sub = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
+$storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType VaultStore -Type LocallyRedundant
+New-AzDataProtectionBackupVault -SubscriptionId $sub "resourceGroupName" -VaultName "vaultName" -Location westus -StorageSetting $storagesetting -CrossSubscriptionRestoreState Enabled -ImmutabilityState Unlocked -SoftDeleteRetentionDurationInDay 100 -SoftDeleteState On
.Outputs
System.Management.Automation.PSObject
@@ -61,7 +65,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IStorageSetting[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IStorageSetting[]]
# Storage Settings of the vault.
# Use New-AzDataProtectionBackupVaultStorageSetting Cmdlet to Create.
# To construct, see NOTES section for STORAGESETTING properties and create a hash table.
@@ -92,6 +96,33 @@ param(
# Security alerts cannot be disabled.
${AzureMonitorAlertsForAllJobFailure},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState]
+ # Immutability state of the vault.
+ # Allowed values are Disabled, Unlocked, Locked.
+ ${ImmutabilityState},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState]
+ # Cross subscription restore state of the vault.
+ # Allowed values are Disabled, Enabled, PermanentlyDisabled.
+ ${CrossSubscriptionRestoreState},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
+ [System.Double]
+ # Soft delete retention duration in days
+ ${SoftDeleteRetentionDurationInDay},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState]
+ # Soft delete state of the vault.
+ # Allowed values are Off, On, AlwaysOn
+ ${SoftDeleteState},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')]
[System.Collections.Hashtable]
diff --git a/src/DataProtection/exports/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 b/src/DataProtection/exports/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1
index 4bd083909dae..6f11f35e4ba8 100644
--- a/src/DataProtection/exports/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1
+++ b/src/DataProtection/exports/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1
@@ -25,12 +25,12 @@ New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfDay
New-AzDataProtectionPolicyTagCriteriaClientObject -DaysOfWeek @("Sunday", "Monday")
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IScheduleBasedBackupCriteria
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IScheduleBasedBackupCriteria
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionpolicytagcriteriaclientobject
#>
function New-AzDataProtectionPolicyTagCriteriaClientObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IScheduleBasedBackupCriteria])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IScheduleBasedBackupCriteria])]
[CmdletBinding(DefaultParameterSetName='ScheduleCriteria', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='AbsoluteCriteria', Mandatory)]
diff --git a/src/DataProtection/exports/New-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/exports/New-AzDataProtectionResourceGuard.ps1
index 1c56ebbeb371..502e732050ac 100644
--- a/src/DataProtection/exports/New-AzDataProtectionResourceGuard.ps1
+++ b/src/DataProtection/exports/New-AzDataProtectionResourceGuard.ps1
@@ -23,12 +23,12 @@ Creates a resource guard under a resource group
New-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "mua-rg" -Name "mua-resource-guard" -Location "centraluseuap"
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IResourceGuardResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IResourceGuardResource
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionresourceguard
#>
function New-AzDataProtectionResourceGuard {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IResourceGuardResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IResourceGuardResource])]
[CmdletBinding(DefaultParameterSetName='CreateResourceGuard', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
diff --git a/src/DataProtection/exports/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 b/src/DataProtection/exports/New-AzDataProtectionRetentionLifeCycleClientObject.ps1
index 282365f971c4..e95c228f8a7b 100644
--- a/src/DataProtection/exports/New-AzDataProtectionRetentionLifeCycleClientObject.ps1
+++ b/src/DataProtection/exports/New-AzDataProtectionRetentionLifeCycleClientObject.ps1
@@ -25,12 +25,12 @@ New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalS
New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 20
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ISourceLifeCycle
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ISourceLifeCycle
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionretentionlifecycleclientobject
#>
function New-AzDataProtectionRetentionLifeCycleClientObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.ISourceLifeCycle])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.ISourceLifeCycle])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
diff --git a/src/DataProtection/exports/ProxyCmdletDefinitions.ps1 b/src/DataProtection/exports/ProxyCmdletDefinitions.ps1
index 86c622ce6818..0cbfd9c1d088 100644
--- a/src/DataProtection/exports/ProxyCmdletDefinitions.ps1
+++ b/src/DataProtection/exports/ProxyCmdletDefinitions.ps1
@@ -38,14 +38,14 @@ while($jobstatus -ne "Completed")
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IOperationJobExtendedInfo
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IOperationJobExtendedInfo
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -53,34 +53,36 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/backup-azdataprotectionbackupinstanceadhoc
#>
function Backup-AzDataProtectionBackupInstanceAdhoc {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IOperationJobExtendedInfo])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IOperationJobExtendedInfo])]
[CmdletBinding(DefaultParameterSetName='BackupExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='BackupExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the backup instance
+ # The name of the backup instance.
${BackupInstanceName},
[Parameter(ParameterSetName='BackupExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='BackupExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='BackupExpanded', Mandatory)]
@@ -259,24 +261,25 @@ $pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName
$pointInTimeRange.RestorableTimeRange | Format-List
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupFindRestorableTimeRangesResponseResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupFindRestorableTimeRangesResponseResource
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/find-azdataprotectionrestorabletimerange
#>
function Find-AzDataProtectionRestorableTimeRange {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupFindRestorableTimeRangesResponseResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupFindRestorableTimeRangesResponseResource])]
[CmdletBinding(DefaultParameterSetName='FindExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the backup instance
+ # The name of the backup instance.
${BackupInstanceName},
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(Mandatory)]
@@ -289,7 +292,8 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(Mandatory)]
@@ -451,14 +455,14 @@ Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxx
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupInstanceResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupInstanceResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -466,29 +470,30 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupinstance
#>
function Get-AzDataProtectionBackupInstance {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupInstanceResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupInstanceResource])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
[Alias('BackupInstanceName')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the backup instance
+ # The name of the backup instance.
${Name},
[Parameter(ParameterSetName='Get', Mandatory)]
[Parameter(ParameterSetName='List', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get')]
@@ -496,7 +501,8 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -653,14 +659,14 @@ Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupNa
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBaseBackupPolicyResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBaseBackupPolicyResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -668,15 +674,15 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackuppolicy
#>
function Get-AzDataProtectionBackupPolicy {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBaseBackupPolicyResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBaseBackupPolicyResource])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -690,7 +696,8 @@ param(
[Parameter(ParameterSetName='List', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get')]
@@ -698,7 +705,8 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -857,14 +865,14 @@ Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupNa
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupVaultResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupVaultResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -872,15 +880,15 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupvault
#>
function Get-AzDataProtectionBackupVault {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IBackupVaultResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IBackupVaultResource])]
[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get')]
@@ -889,14 +897,16 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='Get1', Mandatory)]
[Parameter(ParameterSetName='Get2', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get2', Mandatory)]
@@ -1053,14 +1063,14 @@ Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupJobResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupJobResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -1068,15 +1078,15 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionjob
#>
function Get-AzDataProtectionJob {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupJobResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupJobResource])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -1092,7 +1102,8 @@ param(
[Parameter(ParameterSetName='List', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get')]
@@ -1100,7 +1111,8 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -1253,12 +1265,12 @@ Returns the list of available operations.
Get-AzDataProtectionOperation
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IClientDiscoveryValueForSingleApi
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IClientDiscoveryValueForSingleApi
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionoperation
#>
function Get-AzDataProtectionOperation {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IClientDiscoveryValueForSingleApi])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IClientDiscoveryValueForSingleApi])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter()]
@@ -1398,7 +1410,7 @@ Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupN
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupRecoveryPointResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupRecoveryPointResource
.Outputs
System.Management.Automation.PSObject
.Notes
@@ -1407,7 +1419,7 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -1415,22 +1427,22 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint
#>
function Get-AzDataProtectionRecoveryPoint {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IAzureBackupRecoveryPointResource], [PSObject])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IAzureBackupRecoveryPointResource], [PSObject])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
[Parameter(ParameterSetName='List')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the backup instance
+ # The name of the backup instance.
${BackupInstanceName},
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -1444,7 +1456,8 @@ param(
[Parameter(ParameterSetName='List')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get')]
@@ -1452,7 +1465,8 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -1621,14 +1635,14 @@ Get-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxx
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IResourceGuardResource
+Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IResourceGuardResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -1636,15 +1650,15 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionresourceguard
#>
function Get-AzDataProtectionResourceGuard {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20220501.IResourceGuardResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20221201.IResourceGuardResource])]
[CmdletBinding(DefaultParameterSetName='Get1', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -1657,7 +1671,8 @@ param(
[Parameter(ParameterSetName='Get1', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get')]
@@ -1665,7 +1680,8 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
@@ -1821,7 +1837,7 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -1829,9 +1845,9 @@ INPUTOBJECT : Identity Parameter
[OperationId ]:
[RecoveryPointId ]:
[RequestName ]:
- [ResourceGroupName ]: The name of the resource group where the backup vault is present.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceGuardsName ]: The name of ResourceGuard
- [SubscriptionId ]: The subscription Id.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VaultName ]: The name of the backup vault.
.Link
https://learn.microsoft.com/powershell/module/az.dataprotection/remove-azdataprotectionbackupinstance
@@ -1844,20 +1860,22 @@ param(
[Alias('BackupInstanceName')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the backup instance
+ # The name of the backup instance.
${Name},
[Parameter(ParameterSetName='Delete', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[System.String]
- # The name of the resource group where the backup vault is present.
+ # The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Delete')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String]
- # The subscription Id.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='Delete', Mandatory)]
@@ -2036,7 +2054,7 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [BackupInstanceName ]: The name of the backup instance
+ [BackupInstanceName ]: The name of the backup instance.
[BackupPolicyName ]:
[Id ]: Resource identity path
[JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -2044,9 +2062,9 @@ INPUTOBJECT